Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

refact: mouse scroll, remote tabs (#11708)

fufesoudd0e6c31ba16
diff --git a/flutter/lib/desktop/widgets/tabbar_widget.dart b/flutter/lib/desktop/widgets/tabbar_widget.dart
index c8640e05f..000690173 100644
--- a/flutter/lib/desktop/widgets/tabbar_widget.dart
+++ b/flutter/lib/desktop/widgets/tabbar_widget.dart
@@ -651,7 +651,9 @@ class _DesktopTabState extends State<DesktopTab>
controller.state.value.scrollController;
if (!sc.canScroll) return;
_scrollDebounce.call(() {
- sc.animateTo(sc.offset + e.scrollDelta.dy,
+ double adjust = 2.5;
+ sc.animateTo(
+ sc.offset + e.scrollDelta.dy * adjust,
duration: Duration(milliseconds: 200),
curve: Curves.ease);
});