cleanup: Remove debug prints and duplicate spacer
This commit is contained in:
@@ -808,7 +808,6 @@ function QuestieArrow:UpdateFont()
|
|||||||
local fontSize = Questie.db.profile.arrowFontSize or 10
|
local fontSize = Questie.db.profile.arrowFontSize or 10
|
||||||
local fontName = Questie.db.profile.arrowFont or "Friz Quadrata TT"
|
local fontName = Questie.db.profile.arrowFont or "Friz Quadrata TT"
|
||||||
local fontFace = SharedMedia:Fetch("font", fontName) or fontName
|
local fontFace = SharedMedia:Fetch("font", fontName) or fontName
|
||||||
print("UpdateFont: fontName=" .. tostring(fontName) .. " fontFace=" .. tostring(fontFace))
|
|
||||||
if arrowFrame.title then
|
if arrowFrame.title then
|
||||||
arrowFrame.title:SetFont(fontFace, fontSize, "OUTLINE")
|
arrowFrame.title:SetFont(fontFace, fontSize, "OUTLINE")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ function QuestieOptions.tabs.arrow:Initialize()
|
|||||||
desc = function() return l10n("The font used for the arrow distance and title text.") end,
|
desc = function() return l10n("The font used for the arrow distance and title text.") end,
|
||||||
get = function() return Questie.db.profile.arrowFont or "Friz Quadrata TT" end,
|
get = function() return Questie.db.profile.arrowFont or "Friz Quadrata TT" end,
|
||||||
set = function(_, value)
|
set = function(_, value)
|
||||||
print("Arrow Font set to: " .. tostring(value) .. " type: " .. type(value))
|
|
||||||
Questie.db.profile.arrowFont = value
|
Questie.db.profile.arrowFont = value
|
||||||
if QuestieArrow and QuestieArrow.UpdateFont then
|
if QuestieArrow and QuestieArrow.UpdateFont then
|
||||||
QuestieArrow:UpdateFont()
|
QuestieArrow:UpdateFont()
|
||||||
@@ -115,7 +114,7 @@ function QuestieOptions.tabs.arrow:Initialize()
|
|||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
arrow_spacer_2 = QuestieOptionsUtils:Spacer(6),
|
arrow_spacer_3 = QuestieOptionsUtils:Spacer(8),
|
||||||
autoTrackQuests = {
|
autoTrackQuests = {
|
||||||
type = "toggle",
|
type = "toggle",
|
||||||
order = 7,
|
order = 7,
|
||||||
|
|||||||
Reference in New Issue
Block a user