From 3b7521a47ae731f0bf0a922822e4417493489539 Mon Sep 17 00:00:00 2001 From: Runt <qingingrunt2010@qq.com> Date: Wed, 09 Jul 2025 10:42:02 +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