Add space key & drag to pan the canvas (#364)

This commit is contained in:
0HyperCube
2021-08-30 11:07:43 +01:00
committed by GitHub
parent 9eb48a000c
commit 40e91b33fb
4 changed files with 13 additions and 4 deletions
+1
View File
@@ -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,