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()