PageUp/Down are used for course time navigation
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user