Skip to content

Commit 4c1f951

Browse files
committed
feat: invert next and prev with nothing selected
Felt more nature that way
1 parent e9f7bdb commit 4c1f951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/data.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ impl Data {
163163
// Do nothing already on last row
164164
}
165165
} else {
166-
self.move_selected_to_last();
166+
self.move_selected_to_first();
167167
}
168168
}
169169

@@ -175,7 +175,7 @@ impl Data {
175175
// Do nothing already on first row
176176
}
177177
} else {
178-
self.move_selected_to_first()
178+
self.move_selected_to_last()
179179
}
180180
}
181181

0 commit comments

Comments
 (0)