mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-08 23:21:28 +03:00
opt: more configurable scroll logic & edge size
This commit is contained in:
@@ -60,7 +60,7 @@ class _DesktopTabPageState extends State<DesktopTabPage> {
|
||||
return Platform.isMacOS
|
||||
? tabWidget
|
||||
: Obx(() => DragToResizeArea(
|
||||
resizeEdgeSize: fullscreen.value ? 1.0 : 8.0, child: tabWidget));
|
||||
resizeEdgeSize: fullscreen.value ? 1.0 : 4.0, child: tabWidget));
|
||||
}
|
||||
|
||||
void onAddSetting() {
|
||||
|
||||
@@ -81,6 +81,7 @@ class _FileManagerTabPageState extends State<FileManagerTabPage> {
|
||||
return Platform.isMacOS
|
||||
? tabWidget
|
||||
: SubWindowDragToResizeArea(
|
||||
resizeEdgeSize: 4.0,
|
||||
windowId: windowId(),
|
||||
child: tabWidget,
|
||||
);
|
||||
|
||||
@@ -92,6 +92,7 @@ class _PortForwardTabPageState extends State<PortForwardTabPage> {
|
||||
return Platform.isMacOS
|
||||
? tabWidget
|
||||
: SubWindowDragToResizeArea(
|
||||
resizeEdgeSize: 4.0,
|
||||
windowId: windowId(),
|
||||
child: tabWidget,
|
||||
);
|
||||
|
||||
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user