Skip to content

Commit

Permalink
Breakdown expand arrows, now point to the right when collapsed (was p…
Browse files Browse the repository at this point in the history
…ointing up)
  • Loading branch information
Tercioo committed Feb 29, 2024
1 parent 2aebdda commit 62bb7c3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frames/window_breakdown/breakdown_spells_spellframes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1015,10 +1015,12 @@ local updateSpellBar = function(spellBar, index, actorName, combatObject, scroll
--update the texture taking the state of the expanded value
if (bIsSpellExpaded) then
spellBar.expandButton.texture:SetTexture([[Interface\AddOns\Details\images\arrow_face_down]])
spellBar.expandButton.texture:SetTexCoord(0, 1, 1, 0)
--spellBar.expandButton.texture:SetTexCoord(0, 1, 0, 1)
spellBar.expandButton.texture:SetRotation(0)
else
spellBar.expandButton.texture:SetTexture([[Interface\AddOns\Details\images\arrow_face_down]])
spellBar.expandButton.texture:SetTexCoord(0, 1, 0, 1)
--spellBar.expandButton.texture:SetTexCoord(0, 1, 0, 1)
spellBar.expandButton.texture:SetRotation(math.pi/2)
end

spellBar.expandButton.texture:SetAlpha(0.7)
Expand Down

0 comments on commit 62bb7c3

Please sign in to comment.