fix: clean faction arrow transparency

This commit is contained in:
Xurkon
2026-06-02 13:03:19 -05:00
parent 339dc1d94e
commit 4fc8d661fd
5 changed files with 8 additions and 7 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -3
View File
@@ -270,18 +270,19 @@ local function _ApplyArrowStyle()
if styleChanged then
arrowFrame.arrow:SetTexture(style.texturePath)
arrowFrame._arrowStyleMode = nil
end
if arrowFrame._arrowStyleMode ~= style.mode then
if style.mode == "sheet" then
arrowFrame.arrow:SetTexCoord(0, ARROW_CELL_W / ARROW_SHEET_SIZE, 0, ARROW_CELL_H / ARROW_SHEET_SIZE)
if arrowFrame.arrow.SetRotation then
arrowFrame.arrow:SetRotation(0)
end
else
arrowFrame.arrow:SetTexCoord(0, 1, 0, 1)
end
if arrowFrame.arrow.SetRotation then
arrowFrame.arrow:SetRotation(0)
end
arrowFrame._arrowStyleMode = style.mode
end
local scale = _GetArrowScale()