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 if TRP3_API and TRP3_API.toolbar then
local toolbarButton = { local toolbarButton = {
id = "altsystem_toolbar_btn", id = "altsystem_toolbar_btn",
icon = "Interface\\Icons\\INV_Misc_Dice_01", icon = "INV_Misc_Dice_01",
configText = "AltSystem",
tooltip = "AltSystem", tooltip = "AltSystem",
tooltipSub = "Open the AltSystem rolling window", tooltipSub = "Open the AltSystem rolling window",
onClick = function() onClick = function(_, _, button)
AltSystem:ToggleWindow() if button == "LeftButton" then
AltSystem:ToggleWindow()
end
end, end,
visible = 1, visible = 1,
} }