diff --git a/frontend/src/components/files/ExtendedImage.vue b/frontend/src/components/files/ExtendedImage.vue index b0be0149..742523a6 100644 --- a/frontend/src/components/files/ExtendedImage.vue +++ b/frontend/src/components/files/ExtendedImage.vue @@ -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() {