Skip to content

Commit

Permalink
Fixed double scroll bar showing up
Browse files Browse the repository at this point in the history
  • Loading branch information
Numynum committed May 3, 2023
1 parent 6bae8bf commit ce51ea4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MacroToolkit/modules/mainframe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ function MT:CreateMTFrame()
mtscroll:SetSize(294, 146)
mtscroll:SetPoint("TOPLEFT", 12, -66)
mtscroll:SetPoint("TOPRIGHT", -335, -225)
ScrollFrame_OnLoad(mtscroll)
if not UIPanelScrollFrame_OnLoad then
-- wrath support
ScrollFrame_OnLoad(mtscroll)
end
end

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

0 comments on commit ce51ea4

Please sign in to comment.