From 893524174cff1f247509e34cb9f3c5cc584d3882 Mon Sep 17 00:00:00 2001 From: Brues <5278969+brues-code@users.noreply.github.com> Date: Mon, 2 Nov 2026 20:08:32 -0600 Subject: [PATCH] Equipment manager: close the slot flyout with the character frame PopoutsActive checked IsShown, which stays true on the paperdoll and the sidecar when only CharacterFrame hides. Check IsVisible instead. --- modules/equipmentmanager.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/equipmentmanager.lua b/modules/equipmentmanager.lua index 2924196a..89b32b92 100644 --- a/modules/equipmentmanager.lua +++ b/modules/equipmentmanager.lua @@ -768,11 +768,13 @@ pfUI:RegisterModule("equipmentmanager", function() -- Popout arrows follow the EM sidecar by default. With the -- "Always Show Equipment Slot Flyouts" option they follow the paperdoll -- instead, so gear can be swapped without opening the equipment manager. + -- IsVisible, not IsShown: closing CharacterFrame fires OnHide on both + -- without clearing their own shown flags. local function PopoutsActive() if C.character.inventory.equipflyout == "1" then - return PaperDollFrame:IsShown() + return PaperDollFrame:IsVisible() end - return frame:IsShown() + return frame:IsVisible() end function UpdatePopouts()