Commit fe2117c9 authored by Alexander.Trofimov's avatar Alexander.Trofimov

disable wheel when ctrl key pressed

parent 54f0ce89
...@@ -1537,7 +1537,8 @@ ...@@ -1537,7 +1537,8 @@
/** @param event {MouseEvent} */ /** @param event {MouseEvent} */
asc_CEventsController.prototype._onMouseWheel = function (event) { asc_CEventsController.prototype._onMouseWheel = function (event) {
if (this.isFillHandleMode || this.isMoveRangeMode || this.isMoveResizeRange) { var ctrlKey = event.metaKey || event.ctrlKey;
if (this.isFillHandleMode || this.isMoveRangeMode || this.isMoveResizeRange || ctrlKey) {
return true; return true;
} }
......
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