From a5c5560c21cad278c23534d383e4e7104e8941e3 Mon Sep 17 00:00:00 2001 From: Xurkon Date: Thu, 2 Apr 2026 18:28:08 -0500 Subject: [PATCH] fix: Apply scale and position immediately when settings change --- Modules/Arrow/QuestieArrow.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Modules/Arrow/QuestieArrow.lua b/Modules/Arrow/QuestieArrow.lua index 40021a5..3ae0aa2 100644 --- a/Modules/Arrow/QuestieArrow.lua +++ b/Modules/Arrow/QuestieArrow.lua @@ -155,6 +155,9 @@ end local function EnsureArrowFrame() if arrowFrame then + -- Apply current scale and alpha settings even if frame already exists + arrowFrame:SetScale(_GetArrowScale()) + arrowFrame:SetAlpha(_GetArrowAlpha()) return end @@ -767,12 +770,11 @@ end function QuestieArrow:ResetPosition() Questie.db.profile.arrowPosition = nil - -- Destroy and recreate the arrow frame to apply default position + -- Reset to default center position if arrowFrame then - arrowFrame:Hide() arrowFrame:ClearAllPoints() arrowFrame:SetPoint("CENTER", UIParent, "CENTER", 0, -100) - arrowFrame:Show() + arrowFrame._useDefaultPosition = true end end