This commit is contained in:
dwelle 2021-08-23 23:00:06 +02:00
parent ac00b4ef2b
commit 44660ce313

View File

@ -1897,9 +1897,9 @@ class App extends React.Component<AppProps, AppState> {
}) => { }) => {
const existingTextElement = this.getTextElementAtPosition(sceneX, sceneY); const existingTextElement = this.getTextElementAtPosition(sceneX, sceneY);
if (!existingTextElement && !createTextIfNotExists) { // if (!existingTextElement && !createTextIfNotExists) {
return; // return;
} // }
const parentCenterPosition = const parentCenterPosition =
insertAtParentCenter && insertAtParentCenter &&