fix renamed variable names from #8294 and #8340

pull/7782/head
Andrew Aquino 5 months ago
parent b8dc344e55
commit ace478a0eb

@ -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…
Cancel
Save