Unverified Commit 227e4556 authored by RustDesk's avatar RustDesk Committed by GitHub

Merge pull request #1579 from Kingtous/master

fix: place obx correctly
parents de8596d6 225d5a09
......@@ -57,9 +57,9 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
})
]),
);
return Obx(() => Platform.isMacOS
return Platform.isMacOS
? tabWidget
: DragToResizeArea(
: Obx(() => DragToResizeArea(
resizeEdgeSize: fullscreen.value ? 1.0 : 8.0, child: tabWidget));
}
......
......@@ -140,9 +140,9 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
}),
)),
);
return Obx(() => Platform.isMacOS
return Platform.isMacOS
? tabWidget
: SubWindowDragToResizeArea(
: Obx(() => SubWindowDragToResizeArea(
resizeEdgeSize: fullscreen.value ? 1.0 : 8.0,
windowId: windowId(),
child: tabWidget));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment