diff --git a/Leatrix_Plus.lua b/Leatrix_Plus.lua index 7a8c133..3dd534e 100644 --- a/Leatrix_Plus.lua +++ b/Leatrix_Plus.lua @@ -11315,7 +11315,10 @@ function LeaPlusLC:Player() return end - if arg1 == "LeftButton" and not IsAltKeyDown() then + -- CoA: right-click previously triggered ReloadUI(), which fires far + -- too easily for a minimap button. Treat right-click the same as + -- left-click (toggle config). Reload is still available via /reload. + if (arg1 == "LeftButton" or arg1 == "RightButton") and not IsAltKeyDown() then -- No modifier key toggles the options panel if LeaPlusLC:IsPlusShowing() then LeaPlusLC:HideFrames() @@ -11326,9 +11329,6 @@ function LeaPlusLC:Player() end LeaPlusLC["Page" .. LeaPlusLC["LeaStartPage"]]:Show() end - if arg1 == "RightButton" and not IsAltKeyDown() then - ReloadUI(); - end -- Add ALT-click functionality here if (arg1 == "LeftButton" or arg1 == "RightButton") and IsAltKeyDown() then