Skip to content

Commit

Permalink
ensure db.textPoint etc gets updated on recycled frame with same spel…
Browse files Browse the repository at this point in the history
…lname
  • Loading branch information
wardz committed Feb 18, 2024
1 parent 2a7305b commit 8bd9c7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ClassicCastbars/core/Frames.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ function ClassicCastbars:SetTargetCastbarPosition(castbar, parentFrame)
end

function ClassicCastbars:SetCastbarIconAndText(castbar, db)
local spellName = castbar.spellName
if not castbar.isTesting and castbar.Text:GetText() == spellName then return end
local spellName = castbar.spellName or ""

if castbar.icon == 136235 then -- unknown texture
castbar.icon = 136243
Expand Down

0 comments on commit 8bd9c7d

Please sign in to comment.