deselect all elements when inserting text with double click (#996)

This commit is contained in:
Chang Yan authored and GitHub committed 2020-03-17 23:11:27 -07:00
1 parent 7d57d124bd
commit 6fe40516bf
1 file changed
+3
+3
View File
@@ -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,