PageUp/Down are used for course time navigation

This commit is contained in:
2020-11-29 22:08:05 -08:00
parent f13c5e0e85
commit 9fe08bf1f5

View File

@@ -106,7 +106,9 @@ fn event_loop(mut viewer: Viewer) {
match crossterm::event::read().unwrap() {
Event::Key(e) => match e.code {
KeyCode::Left => time_steps -= 1,
KeyCode::PageDown => time_steps -= 20,
KeyCode::Right => time_steps += 1,
KeyCode::PageUp => time_steps += 20,
KeyCode::Up => z_steps += 1,
KeyCode::Down => z_steps -= 1,
KeyCode::Char('q') => return,