From e1e4c89a183f2ec542792026295ad13968f5f6e0 Mon Sep 17 00:00:00 2001 From: tlartem Date: Tue, 29 Jul 2025 08:09:04 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=B2=D0=B8=D0=B6=D0=BE=D0=BA=201?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/feature/excelEngine/excelEngine.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/feature/excelEngine/excelEngine.ts b/src/feature/excelEngine/excelEngine.ts index f00b6ed..9cc777a 100644 --- a/src/feature/excelEngine/excelEngine.ts +++ b/src/feature/excelEngine/excelEngine.ts @@ -563,7 +563,9 @@ export class Workbook { } getValue(qualifiedName: string): CellValue { - if (this._dirty.has(qualifiedName)) { + // Исправление: пересчитываем если ВООБЩЕ есть грязные ячейки, + // а не только если конкретная запрашиваемая ячейка грязная + if (this._dirty.size > 0) { this.recalc() } const value = this.getCell(qualifiedName).value