Skip to content
Snippets Groups Projects
Commit 66f5a2c2 authored by echicken's avatar echicken
Browse files

@DigitalMan | It'd be nice if home/end keys moved to first/last avatars in a...

@DigitalMan | It'd be nice if home/end keys moved to first/last avatars in a collection when viewing a collection
parent 3b485b92
No related branches found
No related tags found
No related merge requests found
......@@ -263,6 +263,18 @@ function CollectionBrowser(filename, parent_frame) {
highlight();
}
break;
case KEY_HOME:
if (state.selected > 0) {
state.selected = 0;
highlight();
}
break;
case KEY_END:
if (state.selected < collection.count - 1) {
state.selected = collection.count - 1;
highlight();
}
break;
case '\r':
case '\n':
flashy_flashy();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment