fix: mouse wheel zoom on previewer

pull/1353/head
Ramires Viana 2021-03-25 19:37:54 +00:00
parent e410272e6b
commit fcb115f42d
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ export default {
}
},
wheelMove(event) {
this.scale += (event.wheelDeltaY / 100) * this.zoomStep;
this.scale += -Math.sign(event.deltaY) * this.zoomStep;
this.setZoom();
},
setZoom() {