FIX: Identify off the view port cells to the left correctly

This commit is contained in:
Nicolás Hatcher
2025-07-19 08:06:20 +02:00
committed by Nicolás Hatcher Andrés
parent 266c14d5d2
commit 7193c9bf1b

View File

@@ -392,7 +392,7 @@ export default class WorksheetCanvas {
const columnToTheLeft = this.model.getLastNonEmptyInRowBeforeColumn( const columnToTheLeft = this.model.getLastNonEmptyInRowBeforeColumn(
selectedSheet, selectedSheet,
row, row,
topLeftCell.column + 1, topLeftCell.column,
); );
if (columnToTheLeft) { if (columnToTheLeft) {
const columnWidth = this.getColumnWidth(selectedSheet, columnToTheLeft); const columnWidth = this.getColumnWidth(selectedSheet, columnToTheLeft);