mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Fix cmd-a drawing arrows (#321)
We need to quit if we have either elements OR appState, not both.
This commit is contained in:
parent
74764b06eb
commit
5bdd0a35f6
1 changed files with 1 additions and 1 deletions
|
@ -232,7 +232,7 @@ export class App extends React.Component<{}, AppState> {
|
|||
const data = this.actionManager.handleKeyDown(event, elements, this.state);
|
||||
this.syncActionResult(data);
|
||||
|
||||
if (data.elements !== undefined && data.appState !== undefined) {
|
||||
if (data.elements !== undefined || data.appState !== undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue