mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
ui-widgets: use proper hook for onhide prevention
This commit is contained in:
+2
-3
@@ -806,9 +806,8 @@ function pfUI.api.SkinScrollbar(frame, always)
|
||||
|
||||
-- always show parent frame
|
||||
if always then
|
||||
RunOOC(function()
|
||||
parent:SetScript("OnHide", function() this:Show() end)
|
||||
end)
|
||||
if not parent.HookScript then parent.HookScript = HookScript end
|
||||
parent:HookScript("OnHide", function() this:Show() end)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user