Add a missing space
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
67a57ead96
commit
7b6d393754
|
@ -93,7 +93,7 @@ export default class ImageView extends React.Component {
|
||||||
onWheel = (ev) => {
|
onWheel = (ev) => {
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
const newZoom =this.state.zoom - ev.deltaY;
|
const newZoom = this.state.zoom - ev.deltaY;
|
||||||
|
|
||||||
if (newZoom <= MIN_ZOOM) {
|
if (newZoom <= MIN_ZOOM) {
|
||||||
this.setState({
|
this.setState({
|
||||||
|
|
Loading…
Reference in New Issue