diff --git a/Core.lua b/Core.lua index fff36a1..ead7cd8 100644 --- a/Core.lua +++ b/Core.lua @@ -69,11 +69,14 @@ function AltSystem:RegisterTRP3Button() if TRP3_API and TRP3_API.toolbar then local toolbarButton = { id = "altsystem_toolbar_btn", - icon = "Interface\\Icons\\INV_Misc_Dice_01", + icon = "INV_Misc_Dice_01", + configText = "AltSystem", tooltip = "AltSystem", tooltipSub = "Open the AltSystem rolling window", - onClick = function() - AltSystem:ToggleWindow() + onClick = function(_, _, button) + if button == "LeftButton" then + AltSystem:ToggleWindow() + end end, visible = 1, }