From 26b5cf543d1fc23a2de63c4aeeaa9ca81567215b Mon Sep 17 00:00:00 2001 From: Merathilis Date: Fri, 20 Dec 2024 19:46:50 +0100 Subject: [PATCH] Updated an Arrow Texture on the Wardrobe Skin. This thing needed some special treatment >.> --- ElvUI/Mainline/Modules/Skins/Collectables.lua | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/ElvUI/Mainline/Modules/Skins/Collectables.lua b/ElvUI/Mainline/Modules/Skins/Collectables.lua index fdc7066228..d9ac374c10 100644 --- a/ElvUI/Mainline/Modules/Skins/Collectables.lua +++ b/ElvUI/Mainline/Modules/Skins/Collectables.lua @@ -684,7 +684,20 @@ local function SkinTransmogFrames() end end - S:HandleButton(WardrobeTransmogFrame.SpecDropdown) + local specButton = WardrobeTransmogFrame.SpecDropdown + if specButton then + S:HandleButton(specButton) + if specButton.Arrow then specButton.Arrow:SetAlpha(0) end + specButton:SetPoint('RIGHT', WardrobeTransmogFrame.ApplyButton, 'LEFT', -3, 0) + + if not specButton.CustomArrow then + local tex = specButton:CreateTexture(nil, 'ARTWORK') + tex:SetAllPoints() + tex:SetTexture(E.Media.Textures.ArrowUp) + tex:SetRotation(S.ArrowRotation.down) + end + end + S:HandleButton(WardrobeTransmogFrame.ApplyButton) S:HandleButton(WardrobeTransmogFrame.ModelScene.ClearAllPendingButton) S:HandleCheckBox(WardrobeTransmogFrame.ToggleSecondaryAppearanceCheckbox)