1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00

fix: export dialog shortcut toggles console on firefox (#6620)

This commit is contained in:
David Luzar 2023-05-24 22:52:21 +02:00 committed by GitHub
parent 13780f390a
commit 75bea48b54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2156,6 +2156,7 @@ class App extends React.Component<AppProps, AppState> {
event.shiftKey &&
event[KEYS.CTRL_OR_CMD]
) {
event.preventDefault();
this.setState({ openDialog: "imageExport" });
return;
}