fix: Remove duplicate arrow_alpha and debug prints
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user