ui-widgets: remove all hooks to keep thumb visible

This commit is contained in:
shagu
2020-04-03 13:15:05 +02:00
parent e52158b8bc
commit 484ab887fb
-16
View File
@@ -587,22 +587,6 @@ function pfUI.api.SkinScrollbar(frame, always)
if always then
RunOOC(function()
parent:SetScript("OnHide", function() this:Show() end)
if not up or parent.hooked then return end
local enable = up.Enable
local disable = up.Disable
up.Enable = function(self)
if enable then enable(self) end
frame.thumb:Show()
end
up.Disable = function(self)
if disable then disable(self) end
frame.thumb:Hide()
end
parent.hooked = true
end)
end
end