fix button flicker

This commit is contained in:
NicKoehler 2023-02-25 10:08:34 +01:00
parent 75ecb66576
commit eb39cc5da1
No known key found for this signature in database
GPG Key ID: BAE01394EB51AC58
2 changed files with 2 additions and 2 deletions

View File

@ -678,7 +678,7 @@ class _FileManagerPageState extends State<FileManagerPage>
model.cancelJob(item.id);
},
color: MyTheme.accent,
hoverColor: MyTheme.accent80,
hoverColor: MyTheme.button,
),
],
),

View File

@ -37,7 +37,7 @@ class _MenuButtonState extends State<MenuButton> {
message: widget.tooltip,
child: Material(
type: MaterialType.transparency,
child: Ink(
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(_borderRadius),
color: _isHover ? widget.hoverColor : widget.color,