fix: use rawRGBa cursor workaround

This commit is contained in:
Kingtous
2022-10-10 10:53:10 +08:00
parent b7b1b183f1
commit abbf56f2ab
2 changed files with 10 additions and 2 deletions

View File

@@ -404,7 +404,9 @@ class ImagePaint extends StatelessWidget {
controller: _horizontal,
thumbVisibility: false,
trackVisibility: false,
notificationPredicate: (notification) => notification.depth == 1,
notificationPredicate: layoutSize.height < size.height
? (notification) => notification.depth == 1
: defaultScrollNotificationPredicate,
child: widget,
),
);