FIX: Checks also that the sheet is the same

Fixes #395
This commit is contained in:
Nicolás Hatcher
2025-07-04 02:22:27 +02:00
committed by Nicolás Hatcher Andrés
parent 33e9894f9b
commit 84c3cf01ce

View File

@@ -179,6 +179,7 @@ const usePointer = (options: PointerSettings): PointerEvents => {
if (cell) { if (cell) {
if (editingCell) { if (editingCell) {
if ( if (
model.getSelectedSheet() === editingCell.sheet &&
cell.row === editingCell.row && cell.row === editingCell.row &&
cell.column === editingCell.column cell.column === editingCell.column
) { ) {