worldmap-reveal: add option to hide exploration point

This commit is contained in:
shagu
2025-05-20 16:19:15 +02:00
parent 9c695e7951
commit c075ee4427
+4 -1
View File
@@ -8,6 +8,9 @@ local module = ShaguTweaks:register({
expansions = { ["vanilla"] = true, ["tbc"] = false },
maintainer = "@shagu (GitHub)",
enabled = true,
config = {
["map.reveal.marker"] = "on",
}
})
-- Vanilla WoW MapOverlayData
@@ -239,7 +242,7 @@ module.enable = function(self)
explore.tex:SetAllPoints()
-- show exploration points
if enabled and not alreadyknown[textureName] then
if self.config["map.reveal.marker"] == "on" and enabled and not alreadyknown[textureName] then
explore.tex:SetTexture("Interface\\WorldMap\\WorldMap-MagnifyingGlass")
explore:Show()
else