Commit 4c17621b authored by Oleg Korshul's avatar Oleg Korshul

cell mobile (developing...)

parent f06b9b1e
......@@ -3030,8 +3030,8 @@
var _offY = ws.cellsTop * asc_getcvt(1/*pt*/, 3/*mm*/, ws._getPPIY());
return {
X: l + _offX,
Y: t + _offY,
X: l - _offX,
Y: t - _offY,
W: ws.getCellLeft(range.c2, 3) - l + ws.getColumnWidth(range.c2, 3),
H: ws.getCellTop(range.r2, 3) - t + ws.getRowHeight(range.r2, 3)
};
......
......@@ -13192,8 +13192,8 @@
}
}
xL -= this.cols[c].left;
yL -= this.rows[r].top;
xL -= (this.cols[c].left - this.cellsLeft - this.cellsLeft);
yL -= (this.rows[r].top - this.cellsTop - this.cellsTop);
xL *= asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIX());
yL *= asc_getcvt(1/*pt*/, 0/*px*/, this._getPPIY());
......
......@@ -702,6 +702,9 @@ function (window, undefined)
if (!this.SelectEnabled)
return;
if (color !== undefined)
overlay.Clear();
this.CheckSelectRects();
if (null == this.RectSelect1 || null == this.RectSelect2)
return;
......
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