Commit 63d5c00a authored by Alexander.Trofimov's avatar Alexander.Trofimov

check idle in spreadsheets

parent 26d9821e
This diff is collapsed.
......@@ -1966,6 +1966,7 @@
if (lockDraw || this.model.workbook.bCollaborativeChanges || window['IS_NATIVE_EDITOR']) {
return this;
}
this.handlers.trigger("checkLastWork");
this._clean();
this._drawCorner();
this._drawColumnHeaders(/*drawingCtx*/ undefined);
......@@ -3736,6 +3737,8 @@
return;
}
this.handlers.trigger("checkLastWork");
// set clipping rect to cells area
var ctx = this.overlayCtx;
ctx.save().beginPath()
......@@ -6031,6 +6034,7 @@
};
WorksheetView.prototype.getCursorTypeFromXY = function (x, y, isViewerMode) {
this.handlers.trigger("checkLastWork");
var res, c, r, f, i, offsetX, offsetY, cellCursor;
var sheetId = this.model.getId(), userId, lockRangePosLeft, lockRangePosTop, lockInfo, oHyperlink;
var widthDiff = 0, heightDiff = 0, isLocked = false, target = c_oTargetType.Cells, row = -1, col = -1, isSelGraphicObject, isNotFirst;
......
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