From cda6d7cbaa4b1b2afe03a4f71bb55ad0a2525f3a Mon Sep 17 00:00:00 2001 From: Shawn Date: Tue, 28 Feb 2023 10:06:46 -0700 Subject: [PATCH] Add 10% white focus state to AppBtn --- lib/ui/common/controls/buttons.dart | 3 ++- release_notes.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ui/common/controls/buttons.dart b/lib/ui/common/controls/buttons.dart index dc2e6290..23502f0d 100644 --- a/lib/ui/common/controls/buttons.dart +++ b/lib/ui/common/controls/buttons.dart @@ -121,9 +121,10 @@ class AppBtn extends StatelessWidget { tapTargetSize: MaterialTapTargetSize.shrinkWrap, splashFactory: NoSplash.splashFactory, backgroundColor: ButtonStyleButton.allOrNull(bgColor ?? defaultColor), - overlayColor: ButtonStyleButton.allOrNull(Colors.transparent), // disable default press effect + overlayColor: ButtonStyleButton.allOrNull(Colors.white.withOpacity(.1)), // disable default press effect shape: ButtonStyleButton.allOrNull(shape), padding: ButtonStyleButton.allOrNull(padding ?? EdgeInsets.all($styles.insets.md)), + enableFeedback: enableFeedback, ); diff --git a/release_notes.txt b/release_notes.txt index 32601dee..c73397c9 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,3 +1,7 @@ +# 2.0.12 +- Artifact search remembers open/closed panel state +- Add focus state to all buttons + # 2.0.11 - Fixed landscape not working on some tablets - Fixed app restarting when folded, or switching between multi-window mode.