Skip to content

Commit

Permalink
label %i => %t
Browse files Browse the repository at this point in the history
  • Loading branch information
Krealle committed Dec 17, 2024
1 parent e7fe649 commit 4269a4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Data/Defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ Defaults.Widgets = {
onlyShowInterrupt = false,
anchorToParent = true,
timeToHold = 0,
interruptedLabel = "%i",
interruptedLabel = "%t",
showInterruptedSpell = false,
position = {
point = "TOPLEFT",
Expand Down
2 changes: 1 addition & 1 deletion Widgets/Bars/CastBar.lua
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function CastFail(button, event, unit, castID, spellID)
castBar.holdTime = castBar.timeToHold

local type = event == 'UNIT_SPELLCAST_FAILED' and FAILED or INTERRUPTED
castBar.spellText:SetText(castBar.interruptedLabel:gsub("%%i", type):gsub("%%s",
castBar.spellText:SetText(castBar.interruptedLabel:gsub("%%t", type):gsub("%%s",
castBar.displayName ~= "" and castBar.displayName or castBar.spellName or ""))

if castBar.spark:IsShown() then
Expand Down

0 comments on commit 4269a4d

Please sign in to comment.