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