mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
parent
b8dc344e55
commit
ace478a0eb
1 changed files with 3 additions and 2 deletions
|
@ -4071,9 +4071,10 @@ class App extends React.Component<AppProps, AppState> {
|
|||
event.key === KEYS.ESCAPE &&
|
||||
// unless we're dragging or finalizing an action
|
||||
!(
|
||||
this.state.draggingElement ||
|
||||
this.state.newElement ||
|
||||
isWritableElement(event.target) ||
|
||||
this.state.editingElement ||
|
||||
this.state.editingTextElement ||
|
||||
this.state.editingLinearElement ||
|
||||
["freedraw", "eraser"].includes(this.state.activeTool.type)
|
||||
)
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue