opt: more configurable scroll logic & edge size

This commit is contained in:
Kingtous
2022-09-19 16:06:03 +08:00
parent bf1314f91f
commit 21eb7bd165
8 changed files with 79 additions and 47 deletions

View File

@@ -143,7 +143,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
return Platform.isMacOS
? tabWidget
: Obx(() => SubWindowDragToResizeArea(
resizeEdgeSize: fullscreen.value ? 1.0 : 8.0,
resizeEdgeSize: fullscreen.value ? 1.0 : 4.0,
windowId: windowId(),
child: tabWidget));
}