From 62bb7c3aeba794edd4fa5456570b447e3009066f Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 29 Feb 2024 15:15:08 -0300 Subject: [PATCH] Breakdown expand arrows, now point to the right when collapsed (was pointing up) --- frames/window_breakdown/breakdown_spells_spellframes.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/frames/window_breakdown/breakdown_spells_spellframes.lua b/frames/window_breakdown/breakdown_spells_spellframes.lua index 08e65130a..b1a2acc80 100644 --- a/frames/window_breakdown/breakdown_spells_spellframes.lua +++ b/frames/window_breakdown/breakdown_spells_spellframes.lua @@ -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)