mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
Co-authored-by: cmdpromptcritical <cmdpromptcritical@github.com>
This commit is contained in:
parent
190a939af7
commit
66d010381e
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ class PhotoViewCoreState extends State<PhotoViewCore>
|
||||||
} else if (scaleState == PhotoViewScaleState.zoomedIn) {
|
} else if (scaleState == PhotoViewScaleState.zoomedIn) {
|
||||||
animateRotation(controller.rotation, 0);
|
animateRotation(controller.rotation, 0);
|
||||||
if (_shouldAllowPanRotate()) {
|
if (_shouldAllowPanRotate()) {
|
||||||
animatePosition(controller.position, Offset.zero);
|
animatePosition(controller.position, clampPosition());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue