mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 10:54:33 +01:00 
			
		
		
		
	deselect all elements when inserting text with double click (#996)
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chang Yan
					Chang Yan