Skip to content

Commit

Permalink
Buttons: Compensate for another bad addon, closes #390
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Nov 22, 2024
1 parent 974b012 commit 126932a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Buttons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,10 @@ do
end

function mod:StartFrameGrab()
-- Set parent again to compensate for garbage addons (Edit Mode Expanded) thinking it's a good idea to have wide ranging changes on by default, instead of having everything opt-in like Edit Mode itself...
sm.core.button.SetParent(ExpansionLandingPageMinimapButton, Minimap)
sm.core.button.SetFrameStrata(ExpansionLandingPageMinimapButton, "LOW") -- Restore original strata

for i = 1, #buttonTable do
mod:NewFrame(buttonTable[i])
end
Expand Down

0 comments on commit 126932a

Please sign in to comment.