mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-19 02:48:12 +08:00
Populate tool shelf and tool options bar (#66)
This commit is contained in:
@@ -94,6 +94,7 @@ pub enum Key {
|
||||
KeyR,
|
||||
KeyM,
|
||||
KeyE,
|
||||
KeyV,
|
||||
KeyX,
|
||||
Key0,
|
||||
Key1,
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user