mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-07 14:10:01 +00:00
ui-widgets: delay scrollbar skin hooks to ooc
This commit is contained in:
+5
-3
@@ -584,9 +584,11 @@ function pfUI.api.SkinScrollbar(frame, always)
|
||||
|
||||
-- always show parent frame
|
||||
if always then
|
||||
parent:Show()
|
||||
parent.Hide = function(self) frame.thumb:Hide() end
|
||||
parent.Show = function(self) frame.thumb:Show() end
|
||||
RunOOC(function()
|
||||
parent:Show()
|
||||
parent.Hide = function(self) frame.thumb:Hide() end
|
||||
parent.Show = function(self) frame.thumb:Show() end
|
||||
end)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user