Use MAX_SCALE for maxZoom

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-04-24 09:24:25 +02:00
parent 1a906c95da
commit 9b7a9fc865
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ export default class ImageView extends React.Component<IProps, IState> {
this.state = {
zoom: 0,
minZoom: MAX_SCALE,
maxZoom: 100,
maxZoom: MAX_SCALE,
rotation: 0,
translationX: 0,
translationY: 0,