Skip to content

Commit 8ea1131

Browse files
wepframe overlay icon now successfully hides on classic
1 parent c84feeb commit 8ea1131

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

eqMan/eqMan_base.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,6 +561,8 @@ local function wepSwapFrame_OnEvent(self, event, unit, ...)
561561
end
562562
self:Show()
563563
elseif event == "PLAYER_REGEN_ENABLED" then
564+
if self.minimap then self.minimap:Hide() end
565+
if self.visual then self.visual:Hide() end
564566
self:Hide()
565567
local setID = C_EquipmentSet.GetEquipmentSetID("Angleur")
566568
if not setID then
@@ -621,6 +623,7 @@ function Angleur_RepositionWeaponSwapFrames()
621623
weaponSwapFrames.visual:SetScale(Angleur.visual:GetEffectiveScale())
622624
weaponSwapFrames.visual:ClearAllPoints()
623625
weaponSwapFrames.visual:SetPoint("BOTTOMLEFT", UIParent, Angleur.visual:GetLeft(), Angleur.visual:GetBottom())
626+
weaponSwapFrames.visual:Show()
624627
else
625628
Angleur_BetaPrint(colorDebug2:WrapTextInColorCode("RepositionWeaponSwapFrames ") .. ": it do be nil")
626629
end
@@ -632,6 +635,7 @@ function Angleur_RepositionWeaponSwapFrames()
632635
weaponSwapFrames.minimap:SetScale(LibDBIcon10_AngleurMap:GetEffectiveScale() * minimapScaler)
633636
weaponSwapFrames.minimap:ClearAllPoints()
634637
weaponSwapFrames.minimap:SetPoint("BOTTOMLEFT", UIParent, LibDBIcon10_AngleurMap:GetLeft() / minimapScaler, LibDBIcon10_AngleurMap:GetBottom() / minimapScaler)
638+
weaponSwapFrames.minimap:Show()
635639
else
636640
Angleur_BetaPrint(colorDebug2:WrapTextInColorCode("RepositionWeaponSwapFrames ") .. ": it do be nil")
637641
end

0 commit comments

Comments
 (0)