From 7db37e7946741a5dd67414553ace6d46d66ed381 Mon Sep 17 00:00:00 2001 From: dwelle Date: Sun, 22 Oct 2023 23:28:51 +0200 Subject: [PATCH] wip --- excalidraw-app/index.tsx | 2 +- src/components/App.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/excalidraw-app/index.tsx b/excalidraw-app/index.tsx index 45aebadcdb56..c05e9d2e6c74 100644 --- a/excalidraw-app/index.tsx +++ b/excalidraw-app/index.tsx @@ -715,7 +715,7 @@ const ExcalidrawWrapper = () => { // on C keypress const onKeyDown = (event: KeyboardEvent) => { - if (event.code === "KeyC") { + if (event.code === "KeyC" && !event.ctrlKey && !event.metaKey) { toggleCommentTool(); } }; diff --git a/src/components/App.tsx b/src/components/App.tsx index 538cf5a00dba..4675e3657e03 100644 --- a/src/components/App.tsx +++ b/src/components/App.tsx @@ -1239,7 +1239,6 @@ class App extends React.Component { } UIOptions={this.props.UIOptions} onExportImage={this.onExportImage} - onImageAction={this.onImageAction} renderWelcomeScreen={ !this.state.isLoading && this.state.showWelcomeScreen &&