Skip to content

Commit

Permalink
Improve tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
Snakybo committed Sep 6, 2024
1 parent d365f07 commit f03916a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
12 changes: 11 additions & 1 deletion Clicked/BindingConfig/Tabs/Action.lua
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,17 @@ function Addon.BindingConfig.BindingActionTab:RedrawKeyOptions()
CreateCheckbox(Addon.L["Override queued spell"], Addon.L["Allow this binding to override a spell that is queued by the lag-tolerance system, should be reserved for high-priority spells."], "cancelQueuedSpell")
CreateCheckbox(Addon.L["Exit shapeshift form"], Addon.L["Allow this binding to automatically exit your shapeshift form."], "cancelForm")
CreateCheckbox(Addon.L["Target on cast"], Addon.L["Targets the unit you are casting on."], "targetUnitAfterCast")
CreateCheckbox(Addon.L["Clear blue cursor"], Addon.L["Clears the \"blue casting cursor\"."] .. "\n\n" .. Addon.L["It's recommended to always leave this option enabled, as without it you may sometimes be left with a pending spell cast on your cursor."], "stopSpellTarget")

do
local tooltip = {
Addon.L["Clears the \"blue casting cursor\"."],
"",
Addon.L["It's recommended to always leave this option enabled unless you need the extra space in a macro."],
Addon.L["Without it you may be left with a dangling cast if the macro cannot determine the target automatically, in other words if your targets don't end in either 'player' or 'cursor' (or 'default' if self-cast is enabled)"]
}

CreateCheckbox(Addon.L["Clear blue cursor"], table.concat(tooltip, "\n"), "stopSpellTarget")
end

self.container:AddChild(group)
end
Expand Down
3 changes: 2 additions & 1 deletion Clicked/Locales/enUS.lua
Original file line number Diff line number Diff line change
Expand Up @@ -317,4 +317,5 @@ L["Tank"] = true
L["Healer"] = true
L["Clear blue cursor"] = true
L["Clears the \"blue casting cursor\"."] = true
L["It's recommended to always leave this option enabled, as without it you may sometimes be left with a pending spell cast on your cursor."] = true
L["It's recommended to always leave this option enabled unless you need the extra space in a macro."] = true
L["Without it you may be left with a dangling cast if the macro cannot determine the target automatically, in other words if your targets don't end in either 'player' or 'cursor' (or 'default' if self-cast is enabled)"] = true

0 comments on commit f03916a

Please sign in to comment.