fixed home widget shape selector rendering
This commit is contained in:
parent
c14b68f045
commit
14fd7e7137
1 changed files with 2 additions and 1 deletions
|
@ -118,7 +118,8 @@ class _HomeWidgetSettingsPageState extends State<HomeWidgetSettingsPage> {
|
|||
onTap: () => setState(() => _shape = shape),
|
||||
child: AnimatedOpacity(
|
||||
duration: duration,
|
||||
opacity: selected ? 1.0 : .4,
|
||||
// as of Flutter beta v3.3.0-0.0.pre, decoration rendering is at the wrong position if opacity is > .998
|
||||
opacity: selected ? .998 : .4,
|
||||
child: AnimatedContainer(
|
||||
duration: duration,
|
||||
width: 96,
|
||||
|
|
Loading…
Reference in a new issue