Fixing icon

This commit is contained in:
Gonçalo Correia 2026-04-11 19:46:25 +01:00
parent 3e4ac9888a
commit 93cf074408

View file

@ -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,
}