mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
fix button flicker
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user