fix(map): extend minimap fade range slider

This commit is contained in:
Xurkon
2026-06-11 15:17:18 -05:00
parent eebd26cad8
commit 900ff4a4e4
3 changed files with 4 additions and 3 deletions
@@ -549,8 +549,8 @@ function QuestieOptions.tabs.icons:Initialize()
desc = function() return l10n('How much objective icons should fade depending on distance.\n(Default: %s)', optionsDefaults.profile.fadeLevel); end,
width = 3.1,
min = 10,
max = 100,
step = 1,
max = 1000,
step = 5,
disabled = function() return ((not Questie.db.profile.enabled) or (not Questie.db.profile.enableMiniMapIcons)); end,
get = function(info) return QuestieOptions:GetProfileValue(info); end,
set = function (info, value)
+1 -1
View File
@@ -108,7 +108,7 @@ function QuestieOptions:SetProfileValue(info, value)
end
Questie.db.profile[key] = value
if key == "minimapIconRangeCutoff" then
if key == "minimapIconRangeCutoff" or key == "fadeLevel" then
local QuestieMap = QuestieLoader:ImportModule("QuestieMap")
if QuestieMap and QuestieMap.RefreshMinimapIconVisibility then
QuestieMap:RefreshMinimapIconVisibility()