Add a missing space
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
@@ -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({
|
||||||
|
|||||||
Reference in New Issue
Block a user