fix: Remove duplicate arrow_alpha and debug prints

This commit is contained in:
Xurkon
2026-04-02 19:14:08 -05:00
parent fb8c4292c9
commit 1decb399b3
2 changed files with 0 additions and 24 deletions
@@ -55,7 +55,6 @@ 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()
@@ -79,24 +78,6 @@ function QuestieOptions.tabs.arrow:Initialize()
end
end,
},
arrow_alpha = {
type = "range",
order = 5,
width = 1.5,
name = function() return l10n("Arrow Transparency") end,
desc = function() return l10n("Change the transparency of the arrow") end,
min = 0.1,
max = 1.0,
step = 0.05,
get = function() return Questie.db.profile.arrowAlpha or 1.0 end,
set = function(_, value)
Questie.db.profile.arrowAlpha = value
local frame = _G.QuestieArrowFrame
if frame then
frame:SetAlpha(value)
end
end,
},
arrow_spacer_2 = QuestieOptionsUtils:Spacer(6),
autoTrackQuests = {
type = "toggle",
@@ -126,7 +107,6 @@ function QuestieOptions.tabs.arrow:Initialize()
Questie.db.profile.arrowPosition = nil
if QuestieArrow and QuestieArrow.ResetPosition then
QuestieArrow:ResetPosition()
QuestieArrow:Refresh()
end
end,
},