From e21b1c797955a231f2bcf71818e0259fbb6aeba1 Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Fri, 27 Jun 2025 15:57:25 +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