checkpoint: v3.0.8 — 修复 hover 显示名称时容器抖动,文本始终渲染 opacity 控制显隐
3 files modified
19 ■■■■ changed files
Apptag/AppGridItem.swift 14 ●●●●● patch | view | raw | blame | history
Apptag/Info.plist 2 ●●● patch | view | raw | blame | history
CHANGELOG.md 3 ●●●●● patch | view | raw | blame | history
Apptag/AppGridItem.swift
@@ -26,14 +26,12 @@
                    )
                    .animation(.spring(response: 0.3, dampingFraction: 0.7), value: isHovered)
                if showName || isHovered {
                    Text(app.name)
                        .font(.system(size: 11, weight: .medium))
                        .lineLimit(1)
                        .truncationMode(.tail)
                        .frame(maxWidth: iconSize + 20)
                        .opacity(showName ? 1 : 0.85)
                }
                Text(app.name)
                    .font(.system(size: 11, weight: .medium))
                    .lineLimit(1)
                    .truncationMode(.tail)
                    .frame(maxWidth: iconSize + 20)
                    .opacity(showName ? 1 : (isHovered ? 0.85 : 0))
            }
            .padding(.vertical, 8)
            .padding(.horizontal, 4)
Apptag/Info.plist
@@ -19,7 +19,7 @@
    <key>CFBundlePackageType</key>
    <string>APPL</string>
    <key>CFBundleShortVersionString</key>
    <string>3.0.7</string>
    <string>3.0.8</string>
    <key>CFBundleVersion</key>
    <string>1</string>
    <key>LSMinimumSystemVersion</key>
CHANGELOG.md
@@ -1,5 +1,8 @@
# Apptag Changelog
## [3.0.8] — 2026-05-06
- 修复 hover 显示名称时容器抖动:文本始终渲染,opacity 控制显隐(空间预占位)
## [3.0.7] — 2026-05-06
- 隐藏 APP 名称时,鼠标 hover 自动显示名称(`.opacity` 0.85)