Skip to content

Commit

Permalink
Update Micro Menu vehicle re-anchoring for Cata Classic
Browse files Browse the repository at this point in the history
  • Loading branch information
Nevcairiel committed Dec 8, 2024
1 parent d8fb159 commit 14928ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ read_globals = {
"GameTooltip",
"GuildMicroButton",
"HelpMicroButton",
"LFDMicroButton",
"PVPMicroButton",
"MainMenuBar",
"MainMenuBarArtFrame",
"MainMenuBarArtFrameBackground",
Expand Down
10 changes: 6 additions & 4 deletions MicroMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,12 @@ function MicroMenuMod:MicroMenuBarShow()
end

function MicroMenuMod:BlizzardBarShow()
-- Only reset button positions not set in MoveMicroButtons()
for i,v in pairs(self.bar.buttons) do
if v ~= CharacterMicroButton and v ~= LFDMicroButton then
v:ClearSetPoint(unpack(self.bar.anchors[i]))
if WoWClassicEra then
-- Only reset button positions not set in MoveMicroButtons()
for i,v in pairs(self.bar.buttons) do
if v ~= CharacterMicroButton and v ~= PVPMicroButton then
v:ClearSetPoint(unpack(self.bar.anchors[i]))
end
end
end
end
Expand Down

0 comments on commit 14928ae

Please sign in to comment.