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,