From 2b51baa1981fb445b938e64bdce539e58fe70264 Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Sat, 26 Jul 2025 13:17:14 +0000 Subject: [PATCH] 小窗缩放, 相机转小窗显示 小窗旋转,相机画面旋转 关闭按钮优化 --- LiveProject/styles/TextBtnStyle.swift | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/LiveProject/styles/TextBtnStyle.swift b/LiveProject/styles/TextBtnStyle.swift index 7c22fda..85e0369 100644 --- a/LiveProject/styles/TextBtnStyle.swift +++ b/LiveProject/styles/TextBtnStyle.swift @@ -11,5 +11,7 @@ struct TextBtnStyle: ButtonStyle { func makeBody(configuration: Configuration) -> some View { configuration.label + .scaleEffect(configuration.isPressed ? 0.95 : 1.0) + .opacity(configuration.isPressed ? 0.8 : 1.0) } } -- Gitblit v1.9.1