ui-widgets: always update scroll slider

This commit is contained in:
shagu
2020-08-28 11:47:40 +02:00
parent 422ca54ba2
commit 8d9dc563dd
+1 -3
View File
@@ -512,10 +512,8 @@ function pfUI.api.CreateScrollChild(name, parent)
parent:SetScrollChild(f)
-- OnShow is fired too early, postpone to the first frame draw
f:SetScript("OnUpdate", function()
this:GetParent():Scroll()
this:SetScript("OnUpdate", nil)
this:GetParent():UpdateScrollState()
end)
return f