[SSE] Fix scroll in print preview when ctrl is pressed
This commit is contained in:
parent
74e1c01205
commit
1a4d696ba5
|
@ -644,6 +644,10 @@ define([
|
|||
},
|
||||
|
||||
onPreviewWheel: function (e) {
|
||||
if (e.ctrlKey) {
|
||||
e.preventDefault();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
var forward = (e.deltaY || (e.detail && -e.detail) || e.wheelDelta) < 0;
|
||||
this.onChangePreviewPage(forward);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue