mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-15 06:11:29 +03:00
opt file transfer Windows BreadCrumbScroll
This commit is contained in:
@@ -801,7 +801,8 @@ class _FileManagerPageState extends State<FileManagerPage>
|
|||||||
onPointerSignal: (e) {
|
onPointerSignal: (e) {
|
||||||
if (e is PointerScrollEvent) {
|
if (e is PointerScrollEvent) {
|
||||||
final sc = getBreadCrumbScrollController(isLocal);
|
final sc = getBreadCrumbScrollController(isLocal);
|
||||||
sc.jumpTo(sc.offset + e.scrollDelta.dy / 4);
|
final scale = Platform.isWindows ? 2 : 4;
|
||||||
|
sc.jumpTo(sc.offset + e.scrollDelta.dy / scale);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
child: BreadCrumb(
|
child: BreadCrumb(
|
||||||
|
|||||||
Reference in New Issue
Block a user