From eb83ae0a9faec8b538a2f9baaf17f834f258c3d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 2 Apr 2021 09:40:13 +0200 Subject: [PATCH] Use MIN_ZOOM in contructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/elements/ImageView.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index 68a360d4b9..e97c39790e 100644 --- a/src/components/views/elements/ImageView.js +++ b/src/components/views/elements/ImageView.js @@ -61,7 +61,7 @@ export default class ImageView extends React.Component { super(props); this.state = { rotation: 0, - zoom: 95, + zoom: MIN_ZOOM, translationX: 0, translationY: 0, moving: false,