Fixing icon
This commit is contained in:
parent
3e4ac9888a
commit
93cf074408
1 changed files with 6 additions and 3 deletions
9
Core.lua
9
Core.lua
|
|
@ -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,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue