fix button flicker
This commit is contained in:
parent
75ecb66576
commit
eb39cc5da1
@ -678,7 +678,7 @@ class _FileManagerPageState extends State<FileManagerPage>
|
||||
model.cancelJob(item.id);
|
||||
},
|
||||
color: MyTheme.accent,
|
||||
hoverColor: MyTheme.accent80,
|
||||
hoverColor: MyTheme.button,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user