mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Copy paste
This commit is contained in:
parent
953a9886b9
commit
e4f3af460b
1 changed files with 1 additions and 1 deletions
|
@ -292,7 +292,7 @@ class App extends React.Component<{}, AppState> {
|
||||||
private onKeyDown = (event: KeyboardEvent) => {
|
private onKeyDown = (event: KeyboardEvent) => {
|
||||||
if (
|
if (
|
||||||
event.key === "Backspace" &&
|
event.key === "Backspace" &&
|
||||||
((event.target as HTMLElement) || {}).nodeName !== "INPUT"
|
(event.target as HTMLElement).nodeName !== "INPUT"
|
||||||
) {
|
) {
|
||||||
deleteSelectedElements();
|
deleteSelectedElements();
|
||||||
drawScene();
|
drawScene();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue