More development on the new breakdown window

This commit is contained in:
Tercio Jose
2023-04-12 22:41:34 -03:00
parent f947e26945
commit f735cb63bd
8 changed files with 234 additions and 161 deletions
+3 -2
View File
@@ -3889,6 +3889,7 @@ function detailsFramework:CreateScrollBox(parent, name, refreshFunc, data, width
scroll.Frames = {}
scroll.ReajustNumFrames = autoAmount
scroll.CreateLineFunc = createLineFunc
scroll.DontHideChildrenOnPreRefresh = false
detailsFramework:Mixin(scroll, detailsFramework.SortFunctions)
detailsFramework:Mixin(scroll, detailsFramework.ScrollBoxFunctions)
@@ -5515,13 +5516,13 @@ detailsFramework.HeaderCoreFunctions = {
resizerButton:SetScript("OnMouseDown", function()
newHeader.bIsRezising = true
print(1)
--newHeader:StartSizing("right")
newHeader:StartSizing("right")
end)
resizerButton:SetScript("OnMouseUp", function()
newHeader.bIsRezising = false
print(2)
--newHeader:StopMovingOrSizing()
newHeader:StopMovingOrSizing()
end)
resizerButton.texture = resizerButton:CreateTexture(nil, "overlay")