mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Merge pull request '[se] Fix bug 71436' (#621) from fix/bug-71436 into release/v8.3.0
Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/sdkjs/pulls/621
This commit is contained in:
@ -6249,22 +6249,27 @@
|
||||
|
||||
if (ct.angle) {
|
||||
|
||||
xb1 = this._getColLeft(col, true, ctx) - offsetX;
|
||||
xb1 = this._getColLeft(col, false, ctx) - offsetX;
|
||||
yb1 = this._getRowTop(row) - offsetY;
|
||||
wb = this._getColumnWidth(col);
|
||||
hb = this._getRowHeight(row);
|
||||
|
||||
xb1 = this.checkRtl(xb1);
|
||||
if (!isMerged && this.getRightToLeft()) {
|
||||
xb1 -= wb;
|
||||
}
|
||||
|
||||
txtRotX = xb1 - ct.textBound.offsetX;
|
||||
txtRotW = ct.textBound.width + xb1 - ct.textBound.offsetX;
|
||||
|
||||
if (isMerged) {
|
||||
wb = this._getColLeft(colR + 1, true, ctx) - this._getColLeft(colL, true, ctx);
|
||||
wb = this._getColLeft(colR + 1, false, ctx) - this._getColLeft(colL, false, ctx);
|
||||
if (this.getRightToLeft()) {
|
||||
xb1 += this._getColumnWidth(col) - wb;
|
||||
xb1 -= wb;
|
||||
}
|
||||
|
||||
hb = this._getRowTop(rowB + 1) - this._getRowTop(rowT);
|
||||
this._AddClipRect(ctx, xb1, yb1, wb, hb);
|
||||
this._AddClipRect(ctx, xb1, yb1, wb, hb, true);
|
||||
clipUse = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user