Remove unused code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Šimon Brandner 2021-02-24 12:59:40 +01:00
parent 8454a2d440
commit 3e408b3fcd
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790
1 changed files with 0 additions and 12 deletions

View File

@ -160,18 +160,6 @@ export default class ImageView extends React.Component {
});
}
onZoomClick = () => {
if (this.state.zoom <= this.minZoom) {
this.setState({zoom: this.maxZoom});
} else {
this.setState({
zoom: this.minZoom,
translationX: 0,
translationY: 0,
});
}
}
onStartMoving = ev => {
ev.stopPropagation();
ev.preventDefault();