- solo mode will resize the frame if isn't on the correct size.
- new tutorials added to main frame and main frame gear meni. - blizzard help system added to the frame work. - added panic mode and max segments to save options. - fixed a bug where wallpaper isn't change on apply to all. - Vanguard frames are na resizables. - Report button added to Vanguard avoindace info. - Vanguard also now have better tooltips explaining things. - New logo added to tiny threat. - Fixed an issue with dropdowns where no options shown up.
This commit is contained in:
@@ -530,6 +530,10 @@ local APISplitBarFunctions
|
||||
frame.MyObject.container.isMoving = false
|
||||
end
|
||||
end
|
||||
|
||||
local OnSizeChanged = function (statusbar)
|
||||
statusbar.MyObject.div:SetPoint ("left", statusbar, "left", statusbar:GetValue() * (statusbar:GetWidth()/100) - 18, 0)
|
||||
end
|
||||
|
||||
------------------------------------------------------------------------------------------------------------
|
||||
--> object constructor
|
||||
@@ -623,6 +627,7 @@ function gump:NewSplitBar (parent, container, name, member, w, h)
|
||||
SplitBarObject.statusbar:SetScript ("OnShow", OnShow)
|
||||
SplitBarObject.statusbar:SetScript ("OnMouseDown", OnMouseDown)
|
||||
SplitBarObject.statusbar:SetScript ("OnMouseUp", OnMouseUp)
|
||||
SplitBarObject.statusbar:SetScript ("OnSizeChanged", OnSizeChanged)
|
||||
|
||||
_setmetatable (SplitBarObject, SplitBarMetaFunctions)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user