Added comment for context of line
This commit is contained in:
parent
cf8e684cb3
commit
69c5d4f645
1 changed files with 2 additions and 0 deletions
|
@ -279,6 +279,8 @@ class _ZoomableImageState extends State<ZoomableImage> {
|
||||||
initialPosition: currentPosition,
|
initialPosition: currentPosition,
|
||||||
initialScale: scale,
|
initialScale: scale,
|
||||||
);
|
);
|
||||||
|
// Fix for auto-zooming when final image is loaded after double tapping
|
||||||
|
//twice.
|
||||||
_scaleStateController.scaleState = PhotoViewScaleState.zoomedIn;
|
_scaleStateController.scaleState = PhotoViewScaleState.zoomedIn;
|
||||||
}
|
}
|
||||||
final bool canUpdateMetadata = _photo.canEditMetaInfo;
|
final bool canUpdateMetadata = _photo.canEditMetaInfo;
|
||||||
|
|
Loading…
Reference in a new issue