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 12a9d5c
Showing 1 changed file with 2 additions and 0 deletions.
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 12a9d5c

Please sign in to comment.