Use MAX_SCALE for maxZoom
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
52e2c136d7
commit
7e2a3e3c31
|
@ -79,7 +79,7 @@ export default class ImageView extends React.Component<IProps, IState> {
|
||||||
this.state = {
|
this.state = {
|
||||||
zoom: 0,
|
zoom: 0,
|
||||||
minZoom: MAX_SCALE,
|
minZoom: MAX_SCALE,
|
||||||
maxZoom: 100,
|
maxZoom: MAX_SCALE,
|
||||||
rotation: 0,
|
rotation: 0,
|
||||||
translationX: 0,
|
translationX: 0,
|
||||||
translationY: 0,
|
translationY: 0,
|
||||||
|
|
Loading…
Reference in New Issue