Skip to content

Commit

Permalink
fix: scrollToFocusCell function name
Browse files Browse the repository at this point in the history
  • Loading branch information
keppere committed Dec 25, 2024
1 parent 0f62046 commit 00dd287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gui/table-cell/create-editable-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function InputCellEditor({
applyChange(value, false);

state.setFocus(y, x);
state.scrollToFocusCell(x === 0 ? "left" : "right", "bottom");
state.scrollToCell(x === 0 ? "left" : "right", "bottom", focus);
e.preventDefault();
e.stopPropagation();
}
Expand Down

0 comments on commit 00dd287

Please sign in to comment.