fix: scale font correctly when using shift (#5935)
* fix: scale font correctly when using shift * fix * Empty-Commit * Add spec * fix
This commit is contained in:
@ -139,6 +139,9 @@ export const isBoundToContainer = (
|
||||
element: ExcalidrawElement | null,
|
||||
): element is ExcalidrawTextElementWithContainer => {
|
||||
return (
|
||||
element !== null && isTextElement(element) && element.containerId !== null
|
||||
element !== null &&
|
||||
"containerId" in element &&
|
||||
element.containerId !== null &&
|
||||
isTextElement(element)
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user