Commit 9a71d846 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 26198 - Происходит перемещение скролла без зажатой ЛКМ

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60554 954022d7-b5bf-4e40-9824-e11837661b57
parent bf6cc011
......@@ -1069,6 +1069,10 @@
/** @param event {MouseEvent} */
asc_CEventsController.prototype._onWindowMouseUp = function (event) {
var coord = this._getCoordinates(event);
if (this.hsbApiLockMouse)
this.hsbApi.mouseDown ? this.hsbApi.evt_mouseup.call(this.hsbApi, event) : false;
else if (this.vsbApiLockMouse)
this.vsbApi.mouseDown ? this.vsbApi.evt_mouseup.call(this.vsbApi, event) : false;
this.isMousePressed = false;
// Shapes
......@@ -1117,10 +1121,6 @@
// Мы можем dblClick и не отработать, если вышли из области и отпустили кнопку мыши, нужно отработать
this.showCellEditorCursor();
if (this.hsbApiLockMouse)
this.hsbApi.mouseDown ? this.hsbApi.evt_mouseup.call(this.hsbApi, event) : false;
else if (this.vsbApiLockMouse)
this.vsbApi.mouseDown ? this.vsbApi.evt_mouseup.call(this.vsbApi, event) : false;
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