- fully implemented dialogs
- added a scroll feature to grapher.rs - fixed the cosine implementation as it was incorrect before.
This commit is contained in:
@@ -48,6 +48,8 @@ pub enum KeyStroke {
|
||||
Backspace,
|
||||
Left,
|
||||
Right,
|
||||
Up,
|
||||
Down,
|
||||
None,
|
||||
Enter
|
||||
}
|
||||
@@ -66,6 +68,8 @@ impl KeyStroke {
|
||||
KeyCode::Backspace => KeyStroke::Backspace,
|
||||
KeyCode::ArrowLeft => KeyStroke::Left,
|
||||
KeyCode::ArrowRight => KeyStroke::Right,
|
||||
KeyCode::ArrowUp => KeyStroke::Up,
|
||||
KeyCode::ArrowDown => KeyStroke::Down,
|
||||
KeyCode::Enter => KeyStroke::Enter,
|
||||
_ => KeyStroke::None,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user