diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 493ace761e..8a5dbab3bb 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -405,14 +405,16 @@ export default mixins( }, wheelScroll (e: WheelEvent) { //* Control + scroll zoom - if(e.ctrlKey) { - if(e.deltaY>0) this.setZoom("out"); else this.setZoom("in"); + if (e.ctrlKey) { + if (e.deltaY > 0) { + this.setZoom('out'); + } else { + this.setZoom('in'); + } e.preventDefault(); return; } - - this.wheelMoveWorkflow(e); }, keyUp (e: KeyboardEvent) {