mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
Use MIN_ZOOM in contructor
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
80854ab6bb
commit
eb83ae0a9f
@ -61,7 +61,7 @@ export default class ImageView extends React.Component {
|
|||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
rotation: 0,
|
rotation: 0,
|
||||||
zoom: 95,
|
zoom: MIN_ZOOM,
|
||||||
translationX: 0,
|
translationX: 0,
|
||||||
translationY: 0,
|
translationY: 0,
|
||||||
moving: false,
|
moving: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user