mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Panning with space key (#579)
* Panning with space key * prevent panning when selecting/dragging & add more checks * Fix changing current tool via shortcut while panning * Fix order of statements * teardown on blur event * Refactor cursor setting Co-authored-by: David Luzar <luzar.david@gmail.com>
This commit is contained in:
parent
4ad38e317e
commit
35750d8d09
2 changed files with 70 additions and 12 deletions
|
@ -13,6 +13,7 @@ export const KEYS = {
|
|||
: "ctrlKey";
|
||||
},
|
||||
TAB: "Tab",
|
||||
SPACE: " ",
|
||||
};
|
||||
|
||||
export function isArrowKey(keyCode: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue