minimap-square: restore original mask before reload

This commit is contained in:
shagu
2023-04-13 10:06:35 +02:00
parent 7316a42999
commit d3b4b5321a
2 changed files with 4 additions and 3 deletions
+4 -1
View File
@@ -78,7 +78,10 @@ settings.okay:SetScript("OnClick", function()
end
-- reload the UI if required
if reload then ReloadUI() end
if reload then
Minimap:SetMaskTexture("Textures\\MinimapMask")
ReloadUI()
end
settings:Hide()
end)
-2
View File
@@ -8,8 +8,6 @@ local module = ShaguTweaks:register({
enabled = nil,
})
Minimap:SetMaskTexture("Textures\\MinimapMask")
module.enable = function(self)
MinimapBorder:SetTexture(nil)
Minimap:SetPoint("CENTER", MinimapCluster, "TOP", 9, -98)