Ariver
2026-05-10 cb68bda1e70856504ba520ff97b3e4f3c78e228d
Hide overlay when launching an app
3 files modified
15 ■■■■ changed files
Apptag/ApptagApp.swift 9 ●●●●● patch | view | raw | blame | history
Apptag/Info.plist 2 ●●● patch | view | raw | blame | history
CHANGELOG.md 4 ●●●● patch | view | raw | blame | history
Apptag/ApptagApp.swift
@@ -258,7 +258,7 @@
        panel.isReleasedWhenClosed = false
        panel.contentView = DismissibleHostingView(
            rootView: ContentView(hideOverlay: { [weak self] in
                self?.hideOverlay()
                self?.hideOverlay(force: true)
            }),
            onBackdropTap: { [weak self] in
                self?.hideOverlay()
@@ -267,9 +267,12 @@
        return panel
    }
    private func hideOverlay() {
        guard !isInEditMode else { return }
    private func hideOverlay(force: Bool = false) {
        guard force || !isInEditMode else { return }
        overlayWindow?.orderOut(nil)
        if force {
            overlayWindow = nil
        }
    }
    // MARK: - Global Hotkey (Shift+Option+Space)
Apptag/Info.plist
@@ -19,7 +19,7 @@
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>3.1.32</string>
    <string>3.1.33</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>LSMinimumSystemVersion</key>
CHANGELOG.md
@@ -1,5 +1,9 @@
# Apptag Changelog
## [3.1.33] — 2026-05-10
- 修复点击 App 图标后应用列表仍置顶停留的问题:App 启动路径改为强制关闭并释放 overlay,确保焦点及时转移到被打开的应用
## [3.1.32] — 2026-05-10
- 提升 overlay 到 CoreGraphics maximum window level,进一步避免被全屏应用窗口层遮挡