opt: use custom scroll feature

This commit is contained in:
Kingtous
2022-09-19 19:18:05 +08:00
parent e0d759c3bb
commit e1ab01a97f
3 changed files with 3 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ class DesktopScrollWrapper extends StatelessWidget {
Widget build(BuildContext context) {
return ImprovedScrolling(
scrollController: scrollController,
enableCustomMouseWheelScrolling: false,
enableCustomMouseWheelScrolling: true,
customMouseWheelScrollConfig: const CustomMouseWheelScrollConfig(
scrollAmountMultiplier: kDefaultScrollAmountMultiplier),
child: child,