Skip to content

Commit

Permalink
Buttons: Attempt to fix #393
Browse files Browse the repository at this point in the history
  • Loading branch information
funkydude committed Dec 7, 2024
1 parent 8138599 commit 893923c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Buttons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ function mod:OnEnable()
-- 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...
hooksecurefunc(ExpansionLandingPageMinimapButton, "SetParent", function()
sm.core.button.SetParent(ExpansionLandingPageMinimapButton, Minimap)
mod:UpdateDraggables(ExpansionLandingPageMinimapButton)
end)

sm.core.button.SetSize(ExpansionLandingPageMinimapButton, 36, 36) -- Shrink the missions button
Expand Down

0 comments on commit 893923c

Please sign in to comment.