Skip to content

Commit

Permalink
[se] Fix indent
Browse files Browse the repository at this point in the history
  • Loading branch information
GoshaZotov committed Dec 11, 2024
1 parent cace6fd commit 1b718a7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cell/view/WorksheetView.js
Original file line number Diff line number Diff line change
Expand Up @@ -6417,13 +6417,13 @@
if (Asc.c_oAscVAlign.Bottom === ct.cellVA) {
//textY -= ct.indent * 3 * this.defaultSpaceWidth;
} else if (Asc.c_oAscVAlign.Top === ct.cellVA) {
textY += ct.indent * 3 * _defaultSpaceWidth;
textY += (-1 * this.getRightToLeft())*ct.indent * 3 * _defaultSpaceWidth;
}
} else {
if (AscCommon.align_Right === ct.cellHA) {
textX -= ct.indent * 3 * _defaultSpaceWidth;
textX -= (-1 * this.getRightToLeft())*ct.indent * 3 * _defaultSpaceWidth;
} else if (AscCommon.align_Left === ct.cellHA) {
textX += ct.indent * 3 * _defaultSpaceWidth;
textX += (-1 * this.getRightToLeft())*ct.indent * 3 * _defaultSpaceWidth;
}
}
}
Expand Down Expand Up @@ -20195,7 +20195,7 @@

ctx.stroke();
} else {
t.strokeRect(ctx, startX, startY, width, height);
t._strokeRect(ctx, startX, startY, width, height);
}
};

Expand Down

0 comments on commit 1b718a7

Please sign in to comment.