Skip to content

Commit

Permalink
Fix the main menu not being accessible due to UIPanel weirdness
Browse files Browse the repository at this point in the history
Fixes #96
  • Loading branch information
Nevcairiel committed Dec 18, 2024
1 parent 7a61d95 commit 0269b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ read_globals = {
-- FrameXML Functions
"DeltaLerp",
"HelpPlate_Show",
"HideUIPanel",

-- FrameXML Misc
"BonusObjectivePinMixin",
Expand Down
2 changes: 2 additions & 0 deletions Mapster.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,11 @@ function Mapster:OnEnable()
LibWindow.RegisterConfig(WorldMapFrame, db)

-- remove from UI panel system
HideUIPanel(WorldMapFrame)
purgeKey(UIPanelWindows, "WorldMapFrame")
WorldMapFrame:SetAttribute("UIPanelLayout-area", nil)
WorldMapFrame:SetAttribute("UIPanelLayout-enabled", false)
WorldMapFrame:SetAttribute("UIPanelLayout-defined", nil)

-- make the map movable
WorldMapFrame:SetMovable(true)
Expand Down

0 comments on commit 0269b6c

Please sign in to comment.