mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
deselect all elements when inserting text with double click (#996)
This commit is contained in:
parent
7d57d124bd
commit
6fe40516bf
1 changed files with 3 additions and 0 deletions
|
@ -1028,6 +1028,9 @@ export class App extends React.Component<any, AppState> {
|
|||
});
|
||||
};
|
||||
|
||||
// deselect all other elements when inserting text
|
||||
this.setState({ selectedElementIds: {} });
|
||||
|
||||
textWysiwyg({
|
||||
initText: element.text,
|
||||
x: textX,
|
||||
|
|
Loading…
Add table
Reference in a new issue