fix: stabilize minimap range cutoff and update release docs

This commit is contained in:
Xurkon
2026-06-03 06:05:55 -05:00
parent 93cfc17586
commit 4b7c295210
22 changed files with 198 additions and 77 deletions
+11 -3
View File
@@ -102,10 +102,18 @@ end
-- set option value
function QuestieOptions:SetProfileValue(info, value)
if debug and Questie.db.profile[info[#info]] ~= value then
Questie:Debug(Questie.DEBUG_SPAM, "DEBUG: global option", info[#info], "changed from '" .. tostring(Questie.db.profile[info[#info]]) .. "' to '" .. tostring(value) .. "'")
local key = info[#info]
if debug and Questie.db.profile[key] ~= value then
Questie:Debug(Questie.DEBUG_SPAM, "DEBUG: global option", key, "changed from '" .. tostring(Questie.db.profile[key]) .. "' to '" .. tostring(value) .. "'")
end
Questie.db.profile[key] = value
if key == "minimapIconRangeCutoff" then
local QuestieMap = QuestieLoader:ImportModule("QuestieMap")
if QuestieMap and QuestieMap.RefreshMinimapIconVisibility then
QuestieMap:RefreshMinimapIconVisibility()
end
end
Questie.db.profile[info[#info]] = value
end
function QuestieOptions:ClusterRedraw()