mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
fix: state continuously updated when holding ctrl/cmd (#3283)
This commit is contained in:
parent
fa8c7abf50
commit
cf6a5ff16b
1 changed files with 1 additions and 1 deletions
|
@ -1405,7 +1405,7 @@ class App extends React.Component<ExcalidrawProps, AppState> {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event[KEYS.CTRL_OR_CMD]) {
|
if (event[KEYS.CTRL_OR_CMD] && this.state.isBindingEnabled) {
|
||||||
this.setState({ isBindingEnabled: false });
|
this.setState({ isBindingEnabled: false });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue