mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
⚡ Minor improvements
This commit is contained in:
parent
c59e522e9e
commit
243c8d579f
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue