@ -57,8 +57,10 @@ export function restore(
element.points = points;
} else {
if (isTextElement(element)) {
if (!element.textAlign) {
element.textAlign = DEFAULT_TEXT_ALIGN;
}
normalizeDimensions(element);
// old spec, where non-linear elements used to have empty points arrays