🐛 Fix trackpack no longer able to scroll
This commit is contained in:
@@ -20,6 +20,7 @@ class AppScrollBehavior extends MaterialScrollBehavior {
|
|||||||
@override
|
@override
|
||||||
Set<PointerDeviceKind> get dragDevices => {
|
Set<PointerDeviceKind> get dragDevices => {
|
||||||
PointerDeviceKind.touch, // default
|
PointerDeviceKind.touch, // default
|
||||||
|
PointerDeviceKind.trackpad, // default
|
||||||
PointerDeviceKind.mouse, // add mouse dragging
|
PointerDeviceKind.mouse, // add mouse dragging
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user