minimap-square: restore original mask before reload
This commit is contained in:
+4
-1
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user