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
+1
View File
@@ -29,6 +29,7 @@
- **[Database - Export Current Zone]** Added an "Export Current Zone" button (Database tab) alongside Export Current Server / Export All Servers, so players can share just the learned data for the zone they are standing in. `QuestieLearnerExport:ExportZone(zoneId)` (defaults to the player's current `areaId`) gathers the NPCs and objects that spawn in the zone, then pulls in the items those NPCs drop and the quests they start/finish, so the exported bundle stays referentially consistent. Uses the same `QxLD` string format as the full exports, so the existing Import flow accepts it unchanged. - **[Database - Export Current Zone]** Added an "Export Current Zone" button (Database tab) alongside Export Current Server / Export All Servers, so players can share just the learned data for the zone they are standing in. `QuestieLearnerExport:ExportZone(zoneId)` (defaults to the player's current `areaId`) gathers the NPCs and objects that spawn in the zone, then pulls in the items those NPCs drop and the quests they start/finish, so the exported bundle stays referentially consistent. Uses the same `QxLD` string format as the full exports, so the existing Import flow accepts it unchanged.
- **[Map - Minimap Icon Range Cutoff Up To 1000]** Raised the maximum of the "Minimap Icon Range Cutoff" slider from 200 to 1000 (yards), for players who run fully zoomed-out minimaps where quest objective spawns can be far apart. Default and minimum are unchanged. - **[Map - Minimap Icon Range Cutoff Up To 1000]** Raised the maximum of the "Minimap Icon Range Cutoff" slider from 200 to 1000 (yards), for players who run fully zoomed-out minimaps where quest objective spawns can be far apart. Default and minimum are unchanged.
- **[Map - Minimap Icon Fade Distance Up To 1000]** Raised the maximum of the "Minimap Icon Fade Distance" slider from 100 to 1000 (yards) to match the extended range cutoff. This prevents icons allowed by a high cutoff from becoming fully transparent just past the old 100-yard fade threshold. Changing the fade distance now refreshes minimap icon visibility immediately, like the cutoff slider.
- **[Map - Hide Repeatable/Callboard Quests Below Level 60]** (#10) Added "Hide repeatable quests below level 60" (Icons tab, off by default) which hides repeatable available `!` quests — such as the Ascension Callboard — from the map and minimap until the character reaches level 60, where they become relevant. Enforced both at draw time (`_DrawQuestIfAvailable`) and in `ShouldBeHidden`, so already-drawn pins are removed on the minimap too, and they reappear automatically on hitting 60. Only affects repeatable available quests and only when the option is enabled. - **[Map - Hide Repeatable/Callboard Quests Below Level 60]** (#10) Added "Hide repeatable quests below level 60" (Icons tab, off by default) which hides repeatable available `!` quests — such as the Ascension Callboard — from the map and minimap until the character reaches level 60, where they become relevant. Enforced both at draw time (`_DrawQuestIfAvailable`) and in `ShouldBeHidden`, so already-drawn pins are removed on the minimap too, and they reappear automatically on hitting 60. Only affects repeatable available quests and only when the option is enabled.
@@ -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, desc = function() return l10n('How much objective icons should fade depending on distance.\n(Default: %s)', optionsDefaults.profile.fadeLevel); end,
width = 3.1, width = 3.1,
min = 10, min = 10,
max = 100, max = 1000,
step = 1, step = 5,
disabled = function() return ((not Questie.db.profile.enabled) or (not Questie.db.profile.enableMiniMapIcons)); end, disabled = function() return ((not Questie.db.profile.enabled) or (not Questie.db.profile.enableMiniMapIcons)); end,
get = function(info) return QuestieOptions:GetProfileValue(info); end, get = function(info) return QuestieOptions:GetProfileValue(info); end,
set = function (info, value) set = function (info, value)
+1 -1
View File
@@ -108,7 +108,7 @@ function QuestieOptions:SetProfileValue(info, value)
end end
Questie.db.profile[key] = value Questie.db.profile[key] = value
if key == "minimapIconRangeCutoff" then if key == "minimapIconRangeCutoff" or key == "fadeLevel" then
local QuestieMap = QuestieLoader:ImportModule("QuestieMap") local QuestieMap = QuestieLoader:ImportModule("QuestieMap")
if QuestieMap and QuestieMap.RefreshMinimapIconVisibility then if QuestieMap and QuestieMap.RefreshMinimapIconVisibility then
QuestieMap:RefreshMinimapIconVisibility() QuestieMap:RefreshMinimapIconVisibility()