mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-18 02:41:28 +03:00
chore: try to enable keyboard for scroll, but behavior is strange on
mac, #3428 issue
This commit is contained in:
@@ -14,6 +14,7 @@ class DesktopScrollWrapper extends StatelessWidget {
|
|||||||
return ImprovedScrolling(
|
return ImprovedScrolling(
|
||||||
scrollController: scrollController,
|
scrollController: scrollController,
|
||||||
enableCustomMouseWheelScrolling: true,
|
enableCustomMouseWheelScrolling: true,
|
||||||
|
// enableKeyboardScrolling: true, // strange behavior on mac
|
||||||
customMouseWheelScrollConfig: CustomMouseWheelScrollConfig(
|
customMouseWheelScrollConfig: CustomMouseWheelScrollConfig(
|
||||||
scrollDuration: kDefaultScrollDuration,
|
scrollDuration: kDefaultScrollDuration,
|
||||||
scrollCurve: Curves.linearToEaseOut,
|
scrollCurve: Curves.linearToEaseOut,
|
||||||
|
|||||||
Reference in New Issue
Block a user