Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelle committed Oct 25, 2023
1 parent 7c18a35 commit c757447
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion excalidraw-app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
};
Expand Down
1 change: 0 additions & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1239,7 +1239,6 @@ class App extends React.Component<AppProps, AppState> {
}
UIOptions={this.props.UIOptions}
onExportImage={this.onExportImage}
onImageAction={this.onImageAction}
renderWelcomeScreen={
!this.state.isLoading &&
this.state.showWelcomeScreen &&
Expand Down
2 changes: 2 additions & 0 deletions src/packages/excalidraw/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -280,3 +280,5 @@ export { libraryItemsAtom } from "../../data/library";

export * as icons from "../../components/icons";
export * as actions from "../../actions/index";

export { duplicateElements, duplicateElement } from "../../element/newElement";

0 comments on commit c757447

Please sign in to comment.