mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 05:18:19 +00:00
Add space key & drag to pan the canvas (#364)
This commit is contained in:
parent
6b274b3f1c
commit
4f871919f5
4 changed files with 13 additions and 4 deletions
|
@ -137,6 +137,7 @@ pub fn translate_key(name: &str) -> Key {
|
|||
"shift" => KeyShift,
|
||||
// When using linux + chrome + the neo keyboard layout, the shift key is recognized as caps
|
||||
"capslock" => KeyShift,
|
||||
" " => KeySpace,
|
||||
"control" => KeyControl,
|
||||
"delete" => KeyDelete,
|
||||
"backspace" => KeyBackspace,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue