mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-05-18 20:14:56 +03:00
Fix collapsed toolbar drag preview sizing
This commit is contained in:
@@ -346,8 +346,11 @@ class _RemoteToolbarState extends State<RemoteToolbar> {
|
||||
);
|
||||
return Align(
|
||||
alignment: FractionalOffset(_fractionX.value, 0),
|
||||
child: Offstage(
|
||||
offstage: _dragging.isTrue,
|
||||
child: Visibility(
|
||||
visible: _dragging.isFalse,
|
||||
maintainSize: true,
|
||||
maintainAnimation: true,
|
||||
maintainState: true,
|
||||
child: Material(
|
||||
elevation: _ToolbarTheme.elevation,
|
||||
shadowColor: MyTheme.color(context).shadow,
|
||||
|
||||
Reference in New Issue
Block a user