summaryrefslogtreecommitdiff
path: root/src/state/view
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/view')
-rw-r--r--src/state/view/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state/view/mod.rs b/src/state/view/mod.rs
index a63b6ed..b142227 100644
--- a/src/state/view/mod.rs
+++ b/src/state/view/mod.rs
@@ -181,7 +181,7 @@ impl UserData for SheetViewState {
methods.add_function("move_cursor", |_, (row, column): (usize, usize)| {
cfg_mut!()
.cursor
- .move_checked(CursorMove::Jump((row, column)));
+ .move_checked(CursorMove::Jump((column, row)));
Ok(())
});