From f62d15e08d9faceb93d1539259f518b67d10ace4 Mon Sep 17 00:00:00 2001 From: "Mr. Pennyworth" Date: Sun, 28 Jul 2024 16:38:35 -0500 Subject: [PATCH] Hide the pane when Alfred enters into "actions" view --- AlfredExtraPane.xcodeproj/project.pbxproj | 4 ++-- AlfredExtraPane/Pane.swift | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/AlfredExtraPane.xcodeproj/project.pbxproj b/AlfredExtraPane.xcodeproj/project.pbxproj index 7bd6bc0..1327ca7 100644 --- a/AlfredExtraPane.xcodeproj/project.pbxproj +++ b/AlfredExtraPane.xcodeproj/project.pbxproj @@ -413,7 +413,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 0.2.3; + MARKETING_VERSION = 0.2.4; ONLY_ACTIVE_ARCH = NO; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = mr.pennyworth.AlfredExtraPane; @@ -434,7 +434,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 0.2.3; + MARKETING_VERSION = 0.2.4; ONLY_ACTIVE_ARCH = NO; OTHER_CODE_SIGN_FLAGS = "--deep"; PRODUCT_BUNDLE_IDENTIFIER = mr.pennyworth.AlfredExtraPane; diff --git a/AlfredExtraPane/Pane.swift b/AlfredExtraPane/Pane.swift index 722a29a..8f9e966 100644 --- a/AlfredExtraPane/Pane.swift +++ b/AlfredExtraPane/Pane.swift @@ -61,6 +61,7 @@ class Pane { Alfred.onHide { self.hide() } Alfred.onFrameChange { self.alfredFrame = $0 } + Alfred.inActionsView { self.hide() } } lazy var isGlobal: Bool = { self.workflowUID == nil }()