Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-02-14 18:41:35 +08:00
parent 511ff71f5f
commit 9c7c6f9e4e
6 changed files with 21 additions and 23 deletions

View File

@@ -118,8 +118,7 @@ class _GalleryViewerState extends State<GalleryViewer>
if (PlatformUtils.isDesktop) {
_tapGestureRecognizer.onSecondaryTapUp = _showDesktopMenu;
}
_horizontalDragGestureRecognizer = ImageHorizontalDragGestureRecognizer()
..gestureSettings = gestureSettings;
_horizontalDragGestureRecognizer = ImageHorizontalDragGestureRecognizer();
_longPressGestureRecognizer = LongPressGestureRecognizer()
..onLongPress = _onLongPress
..gestureSettings = gestureSettings;