Commit 6c9a3239 authored by Dafrok's avatar Dafrok

fix(zoom): zoom with `ctrl + wheel`

https://github.com/fex-team/kityminder-editor/issues/584
parent 1ac722b0
...@@ -181,9 +181,9 @@ define(function(require, exports, module) { ...@@ -181,9 +181,9 @@ define(function(require, exports, module) {
var value; var value;
var lastValue = me.getPaper()._zoom || 1; var lastValue = me.getPaper()._zoom || 1;
if (delta < 0) { if (delta < 0) {
me.execCommand('zoom-in'); me.execCommand('zoomin');
} else if (delta > 0) { } else if (delta > 0) {
me.execCommand('zoom-out'); me.execCommand('zoomout');
} }
}, 100); }, 100);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment