Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Nov 25, 2023
1 parent 2635103 commit e9428e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion excalidraw-app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,12 @@ const ExcalidrawWrapper = () => {

// on C keypress
const onKeyDown = (event: KeyboardEvent) => {
if (event.code === "KeyC") {
if (
event.code === "KeyC" &&
!event.ctrlKey &&
!event.metaKey &&
!event.altKey
) {
toggleCommentTool();
}
};
Expand Down

0 comments on commit e9428e5

Please sign in to comment.