Populate tool shelf and tool options bar (#66)

This commit is contained in:
Keavon Chambers
2021-04-08 06:10:27 -07:00
parent e34672556d
commit 8b6053b1c4
49 changed files with 668 additions and 70 deletions

View File

@@ -94,6 +94,7 @@ pub enum Key {
KeyR,
KeyM,
KeyE,
KeyV,
KeyX,
Key0,
Key1,

View File

@@ -62,6 +62,9 @@ impl Dispatcher {
Key::KeyE => {
editor_state.tool_state.active_tool_type = ToolType::Ellipse;
}
Key::KeyV => {
editor_state.tool_state.active_tool_type = ToolType::Select;
}
Key::KeyX => {
editor_state.tool_state.swap_colors();
}