From 40e7b58ba42642f2c977c2ff5036321d3ff468ca Mon Sep 17 00:00:00 2001 From: toamz <39005598+toamz@users.noreply.github.com> Date: Sun, 25 May 2025 21:32:04 +0200 Subject: [PATCH] fix(mobile): pinch to zoom + move acceleration (#18569) Fix pinch to zoom + move acceleration --- mobile/lib/widgets/photo_view/src/core/photo_view_core.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/widgets/photo_view/src/core/photo_view_core.dart b/mobile/lib/widgets/photo_view/src/core/photo_view_core.dart index 0a5cae0fa0..80d7427d82 100644 --- a/mobile/lib/widgets/photo_view/src/core/photo_view_core.dart +++ b/mobile/lib/widgets/photo_view/src/core/photo_view_core.dart @@ -169,7 +169,7 @@ class PhotoViewCoreState extends State scale: newScale, position: widget.enablePanAlways ? delta - : clampPosition(position: delta * details.scale), + : clampPosition(position: delta, scale: details.scale), rotation: widget.enableRotation ? _rotationBefore! + details.rotation : null, rotationFocusPoint: widget.enableRotation ? details.focalPoint : null,