Commit 2813bcea authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

заглушка под десктопную версию (mouse wheel)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62860 954022d7-b5bf-4e40-9824-e11837661b57
parent 59b9e087
...@@ -1472,6 +1472,13 @@ ...@@ -1472,6 +1472,13 @@
if (this.isFillHandleMode || this.isMoveRangeMode || this.isMoveResizeRange) { if (this.isFillHandleMode || this.isMoveRangeMode || this.isMoveResizeRange) {
return true; return true;
} }
if (undefined !== window["AscDesktopEditor"])
{
if (false === window["AscDesktopEditor"]["CheckNeedWheel"]())
return true;
}
var delta = 0; var delta = 0;
if (undefined !== event.wheelDelta && 0 !== event.wheelDelta) { if (undefined !== event.wheelDelta && 0 !== event.wheelDelta) {
delta = -1 * event.wheelDelta / 40; delta = -1 * event.wheelDelta / 40;
......
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