Skip to content

Commit

Permalink
Fixes/changes for retail 11.0.0 (including new supporting MoLib v14)
Browse files Browse the repository at this point in the history
  • Loading branch information
mooreatv committed Jul 25, 2024
1 parent f290976 commit e4832c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
3 changes: 0 additions & 3 deletions NeatMinimap/.luacheckrc
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
globals = {
"NeatMinimapSaved",
"CreateFrame",
"InterfaceOptions_AddCategory",
"InterfaceOptionsFrame",
"InterfaceOptionsFrame_OpenToCategory",
"SlashCmdList",
"SLASH_NeatMinimap_Slash_Command1",
"geterrorhandler",
Expand Down
2 changes: 1 addition & 1 deletion NeatMinimap/NeatMinimap-Mainline.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100207
## Interface: 110000
## Title: Neat Minimap
## Notes: Neat Minimap auto hides/shows buttons and clutter as needed (|cFF99E5FF/nmm|r)
## Notes: Shadowlands Eternity's End edition
Expand Down
6 changes: 2 additions & 4 deletions NeatMinimap/NeatMinimap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,7 @@ function NMM.Slash(arg) -- can't be a : because used directly as slash command
" (@project-abbreviated-hash@) by MooreaTv (moorea@ymail.com)")
elseif cmd == "c" then
-- Show config panel
-- InterfaceOptionsList_DisplayPanel(NMM.optionsPanel)
InterfaceOptionsFrame:Show() -- onshow will clear the category if not already displayed
InterfaceOptionsFrame_OpenToCategory(NMM.optionsPanel) -- gets our name selected
NMM:ShowConfigPanel(NMM.optionsPanel)
elseif NMM:StartsWith(arg, "debug") then
-- debug
if rest == "on" then
Expand Down Expand Up @@ -454,7 +452,7 @@ function NMM:CreateOptionsPanel()
end
end
-- Add the panel to the Interface Options
InterfaceOptions_AddCategory(NMM.optionsPanel)
NMM:ConfigPanel(NMM.optionsPanel)
end

-- NMM.debug = 2
Expand Down

0 comments on commit e4832c5

Please sign in to comment.