This commit is contained in:
connorhanafee 2025-04-11 00:17:34 -04:00 committed by GitHub
commit 994b2f179d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5334,6 +5334,7 @@ class App extends React.Component<AppProps, AppState> {
const minHeight = getApproxMinLineHeight(fontSize, lineHeight);
const newHeight = Math.max(container.height, minHeight);
const newWidth = Math.max(container.width, minWidth);
this.store.shouldCaptureIncrement();
mutateElement(container, { height: newHeight, width: newWidth });
sceneX = container.x + newWidth / 2;
sceneY = container.y + newHeight / 2;