Skip to content

Commit ad690fa

Browse files
committed
fix issue with frames sometimes not hiding properly while in combat
1 parent b42dc45 commit ad690fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NoAutoclose.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function ns:ShouldNotManuallyShowHide(frame, interfaceActionWasBlocked)
5555
end
5656

5757
function ns:OnDisplayInterfaceActionBlockedMessage()
58-
if InCombatLockdown() and debugstack(3):find('in function `ShowUIPanel\'') then
58+
if InCombatLockdown() and (debugstack(3):find('in function `ShowUIPanel\'') or debugstack(3):find('in function `HideUIPanel\'')) then
5959
self.interfaceActionWasBlocked = true;
6060
end
6161
end

0 commit comments

Comments
 (0)