mirror of
https://github.com/parnic/breakables.git
synced 2025-06-16 17:40:13 -05:00
- added a tooltip to the LDB launcher
This commit is contained in:
@ -65,10 +65,17 @@ function Breakables:InitLDB()
|
||||
type = "launcher",
|
||||
text = "Breakables",
|
||||
icon = "Interface\\Icons\\ability_warrior_sunder",
|
||||
OnClick = function(_, msg)
|
||||
OnClick = function(button, msg)
|
||||
self:OnSlashCommand()
|
||||
end,
|
||||
})
|
||||
|
||||
if ldbButton then
|
||||
function ldbButton:OnTooltipShow()
|
||||
self:AddLine("Breakables @project-version@")
|
||||
self:AddLine("Click to open Breakables options.", 1, 1, 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user