diff --git a/web/lib/litegraph.core.js b/web/lib/litegraph.core.js index 4aae889ef4e..382786b1581 100644 --- a/web/lib/litegraph.core.js +++ b/web/lib/litegraph.core.js @@ -6913,11 +6913,7 @@ LGraphNode.prototype.executeAction = function(action) var scale = this.ds.scale; - if (delta > 0) { - scale *= 1.1; - } else if (delta < 0) { - scale *= 1 / 1.1; - } + scale *= Math.pow(1.4, delta * 0.01); //this.setZoom( scale, [ e.clientX, e.clientY ] ); this.ds.changeScale(scale, [e.clientX, e.clientY]);