From c80cf01f4b97b3e70a0f617d3d4ca785a3903f1f Mon Sep 17 00:00:00 2001
From: Ariver <ar@MacBook-Air.local>
Date: Wed, 06 May 2026 17:59:40 +0800
Subject: [PATCH] checkpoint: v3.0.10 — 恢复 hover 左侧标签滚动 + 模式切换修复

---
 Apptag/AppGridItem.swift |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Apptag/AppGridItem.swift b/Apptag/AppGridItem.swift
index 8a2263a..b3b8141 100644
--- a/Apptag/AppGridItem.swift
+++ b/Apptag/AppGridItem.swift
@@ -6,6 +6,7 @@
 struct AppGridItem: View {
     let app: AppInfo
     let iconSize: CGFloat
+    var showName: Bool = true
     let onSelect: () -> Void
 
     @State private var isHovered = false
@@ -30,6 +31,7 @@
                     .lineLimit(1)
                     .truncationMode(.tail)
                     .frame(maxWidth: iconSize + 20)
+                    .opacity(showName ? 1 : (isHovered ? 0.85 : 0))
             }
             .padding(.vertical, 8)
             .padding(.horizontal, 4)

--
Gitblit v1.9.3