From 3514f450c97442569709898b8f1d83b15bcb1863 Mon Sep 17 00:00:00 2001 From: leo12025 Date: Sat, 27 Dec 2025 20:17:03 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=A7=BB=E9=99=A4=E8=8F=9C?= =?UTF-8?q?=E5=8D=95=E5=86=85=E5=AE=B9=E4=B8=AD=E5=A4=9A=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E8=BF=87=E6=B8=A1=E5=8A=A8=E7=94=BB=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PowerBar/PowerBarApp.swift | 5 +---- temp_dmg/Applications | 1 + 2 files changed, 2 insertions(+), 4 deletions(-) create mode 120000 temp_dmg/Applications diff --git a/PowerBar/PowerBarApp.swift b/PowerBar/PowerBarApp.swift index c8b5727..7e319e1 100644 --- a/PowerBar/PowerBarApp.swift +++ b/PowerBar/PowerBarApp.swift @@ -83,8 +83,6 @@ struct MenuContent: View { .buttonStyle(.plain) Divider() - .transition(.opacity) - .animation(.easeInOut(duration: 0.3), value: appState.isFunctionEnabled) // 状态显示 VStack(alignment: .leading, spacing: 4) { @@ -119,8 +117,7 @@ struct MenuContent: View { } Spacer() } - .transition(.opacity) - .animation(.easeInOut(duration: 0.3), value: appState.isFunctionEnabled || appState.isUserIdle) + } .padding(8) .background( diff --git a/temp_dmg/Applications b/temp_dmg/Applications new file mode 120000 index 0000000..bd2d47f --- /dev/null +++ b/temp_dmg/Applications @@ -0,0 +1 @@ +/Applications \ No newline at end of file