Skip to content

Commit ce51ea4

Browse files
committed
Fixed double scroll bar showing up
1 parent 6bae8bf commit ce51ea4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

MacroToolkit/modules/mainframe.lua

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,10 @@ function MT:CreateMTFrame()
224224
mtscroll:SetSize(294, 146)
225225
mtscroll:SetPoint("TOPLEFT", 12, -66)
226226
mtscroll:SetPoint("TOPRIGHT", -335, -225)
227-
ScrollFrame_OnLoad(mtscroll)
227+
if not UIPanelScrollFrame_OnLoad then
228+
-- wrath support
229+
ScrollFrame_OnLoad(mtscroll)
230+
end
228231
end
229232

230233
local mtscrolltop = mtscroll:CreateTexture(nil, "ARTWORK")

0 commit comments

Comments
 (0)