fix: don't refresh dimensions for deleted text elements (#6438)
This commit is contained in:
@ -265,6 +265,9 @@ export const refreshTextDimensions = (
|
||||
textElement: ExcalidrawTextElement,
|
||||
text = textElement.text,
|
||||
) => {
|
||||
if (textElement.isDeleted) {
|
||||
return;
|
||||
}
|
||||
const container = getContainerElement(textElement);
|
||||
if (container) {
|
||||
text = wrapText(
|
||||
|
Reference in New Issue
Block a user