mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-19 11:01:15 +00:00
⚡ Minor improvements
This commit is contained in:
@@ -405,14 +405,16 @@ export default mixins(
|
|||||||
},
|
},
|
||||||
wheelScroll (e: WheelEvent) {
|
wheelScroll (e: WheelEvent) {
|
||||||
//* Control + scroll zoom
|
//* Control + scroll zoom
|
||||||
if(e.ctrlKey) {
|
if (e.ctrlKey) {
|
||||||
if(e.deltaY>0) this.setZoom("out"); else this.setZoom("in");
|
if (e.deltaY > 0) {
|
||||||
|
this.setZoom('out');
|
||||||
|
} else {
|
||||||
|
this.setZoom('in');
|
||||||
|
}
|
||||||
|
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.wheelMoveWorkflow(e);
|
this.wheelMoveWorkflow(e);
|
||||||
},
|
},
|
||||||
keyUp (e: KeyboardEvent) {
|
keyUp (e: KeyboardEvent) {
|
||||||
|
|||||||
Reference in New Issue
Block a user