From fb8c4292c95fa88ce8aebe2ac42d8026f513cf67 Mon Sep 17 00:00:00 2001 From: Xurkon Date: Thu, 2 Apr 2026 19:06:56 -0500 Subject: [PATCH] debug: Add prints to trace scale update --- Modules/Arrow/QuestieArrow.lua | 4 ++++ Modules/Options/ArrowTab/QuestieOptionsArrow.lua | 1 + 2 files changed, 5 insertions(+) diff --git a/Modules/Arrow/QuestieArrow.lua b/Modules/Arrow/QuestieArrow.lua index 219d229..149e40a 100644 --- a/Modules/Arrow/QuestieArrow.lua +++ b/Modules/Arrow/QuestieArrow.lua @@ -794,8 +794,12 @@ function QuestieArrow:ApplyAlpha() end function QuestieArrow:UpdateSettings() + -- Debug + print("UpdateSettings called, arrowFrame=" .. tostring(arrowFrame)) EnsureArrowFrame() + print("After EnsureArrowFrame, arrowFrame=" .. tostring(arrowFrame)) if arrowFrame then + print("Setting scale to " .. tostring(_GetArrowScale())) arrowFrame:SetScale(_GetArrowScale()) arrowFrame:SetAlpha(_GetArrowAlpha()) end diff --git a/Modules/Options/ArrowTab/QuestieOptionsArrow.lua b/Modules/Options/ArrowTab/QuestieOptionsArrow.lua index 99a4dec..073af40 100644 --- a/Modules/Options/ArrowTab/QuestieOptionsArrow.lua +++ b/Modules/Options/ArrowTab/QuestieOptionsArrow.lua @@ -55,6 +55,7 @@ function QuestieOptions.tabs.arrow:Initialize() step = 0.05, get = function() return Questie.db.profile.arrowScale or 1 end, set = function(_, value) + print("Arrow scale set to: " .. tostring(value)) Questie.db.profile.arrowScale = value if QuestieArrow and QuestieArrow.UpdateSettings then QuestieArrow:UpdateSettings()