You've already forked GnomishVendorShrinker
Move refresh logic out of the generic frame factory
This commit is contained in:
1
externals/ui-scrollbar.lua
vendored
1
externals/ui-scrollbar.lua
vendored
@ -95,7 +95,6 @@ function ns.NewScrollBar(parent, offset, step)
|
||||
local value = self:GetValue()
|
||||
if value == min then up:Disable() else up:Enable() end
|
||||
if value == max then down:Disable() else down:Enable() end
|
||||
if self.Refresh then self:Refresh() end
|
||||
end
|
||||
|
||||
f:HookScript("OnMinMaxChanged", UpdateUpDown)
|
||||
|
Reference in New Issue
Block a user