From 18c90acda54cb46815a081ecfc36ea8f2b9e93fd Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Mon, 29 Jun 2026 00:12:04 +0800
Subject: [PATCH] Fix custom hotkey settings UI for 8.2.1

---
 src/Apptag/QuickSearch.swift |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/Apptag/QuickSearch.swift b/src/Apptag/QuickSearch.swift
index 1fecfb4..5678234 100644
--- a/src/Apptag/QuickSearch.swift
+++ b/src/Apptag/QuickSearch.swift
@@ -7,6 +7,7 @@
     static let tagLauncherQuickSearchDismissRequested = Notification.Name("TagLauncherQuickSearchDismissRequested")
     static let tagLauncherQuickSearchVisibilityChanged = Notification.Name("TagLauncherQuickSearchVisibilityChanged")
     static let tagLauncherHotkeyRegistrationChanged = Notification.Name("TagLauncherHotkeyRegistrationChanged")
+    static let tagLauncherProEntitlementChanged = Notification.Name("TagLauncherProEntitlementChanged")
 }
 
 enum QuickSearchOpenSource {
@@ -80,6 +81,10 @@
             }
             return "Key \(keyCode)"
         }
+    }
+
+    static var printableKeyCodes: Set<Int> {
+        Set(keyCodeToPrintableScalar.keys)
     }
 
     private static let keyCodeToPrintableScalar: [Int: Character] = [
@@ -295,7 +300,7 @@
 enum QuickSearchEngine {
     static func makeDocuments(apps: [AppInfo], store: TagDatabase.Store) -> [QuickSearchDocument] {
         apps
-            .filter { !AppIndexer.isNestedInsideAppBundle($0.path) }
+            .filter { !AppIndexer.isInternalHelperAppPath($0.path) }
             .map { app in
                 let localizedNames = uniqueOrdered(AppDisplayNameResolver.searchAliases(for: app))
                 let internalBundleNames = internalBundleNames(for: app)
@@ -1432,6 +1437,15 @@
         trackingAreaRef = area
     }
 
+    override func hitTest(_ point: NSPoint) -> NSView? {
+        guard !isHidden, alphaValue > 0, bounds.contains(point) else { return nil }
+        return self
+    }
+
+    override func acceptsFirstMouse(for event: NSEvent?) -> Bool {
+        true
+    }
+
     override func mouseEntered(with event: NSEvent) {
         super.mouseEntered(with: event)
         if let result {

--
Gitblit v1.9.3