[SSE] Fix scroll in print preview when ctrl is pressed

This commit is contained in:
JuliaSvinareva 2022-03-24 20:48:25 +03:00
parent 74e1c01205
commit 1a4d696ba5

View file

@ -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);
},