From f4394e8ca6e748ab6df757da740e3db7ea971e64 Mon Sep 17 00:00:00 2001 From: GoshaZotov Date: Sun, 3 Nov 2024 00:00:47 +0300 Subject: [PATCH] [se] Fix bug 71398 --- cell/view/WorksheetView.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cell/view/WorksheetView.js b/cell/view/WorksheetView.js index 48e72c4649..ee8db73c35 100644 --- a/cell/view/WorksheetView.js +++ b/cell/view/WorksheetView.js @@ -10845,13 +10845,12 @@ this._updateDrawingArea(); - this._endRtlDrawingRendering(); if (this.workbook.getSmoothScrolling()) { - ctx.AddClipRect(clearLeft - clearOffset, y, clearWidth + clearOffset, ctxH); - this.drawingGraphicCtx.AddClipRect && this.drawingGraphicCtx.AddClipRect(clearLeft - clearOffset, y, clearWidth + clearOffset, ctxH); + ctx.AddClipRect(clearLeft - clearOffset, y, clearWidth + clearOffset + this.getRightToLeftOffset(), ctxH); + this.drawingGraphicCtx.AddClipRect && this.drawingGraphicCtx.AddClipRect(clearLeft - clearOffset, y, clearWidth + clearOffset + this.getRightToLeftOffset(), ctxH); } - + this._endRtlDrawingRendering(); // Дорисовываем необходимое if (dx < 0 || vr.c2 !== oldEnd || oldVCE_isPartial || (clearWidth !== 0 && this.workbook.getSmoothScrolling())) { var c1, c2;