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);
|
model.cancelJob(item.id);
|
||||||
},
|
},
|
||||||
color: MyTheme.accent,
|
color: MyTheme.accent,
|
||||||
hoverColor: MyTheme.accent80,
|
hoverColor: MyTheme.button,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
@ -37,7 +37,7 @@ class _MenuButtonState extends State<MenuButton> {
|
|||||||
message: widget.tooltip,
|
message: widget.tooltip,
|
||||||
child: Material(
|
child: Material(
|
||||||
type: MaterialType.transparency,
|
type: MaterialType.transparency,
|
||||||
child: Ink(
|
child: Container(
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
borderRadius: BorderRadius.circular(_borderRadius),
|
borderRadius: BorderRadius.circular(_borderRadius),
|
||||||
color: _isHover ? widget.hoverColor : widget.color,
|
color: _isHover ? widget.hoverColor : widget.color,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user