From 93cf0744087395f5b5881358db80bb3d8e3ccd2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Correia?= Date: Sat, 11 Apr 2026 19:46:25 +0100 Subject: [PATCH] Fixing icon --- Core.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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, }