mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-04-14 16:40:58 -04:00
Restore textAlign property (#1374)
This commit is contained in:
parent
f7e3ee2064
commit
b971737d32
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@ export function restore(
|
|||
element.points = points;
|
||||
} else {
|
||||
if (isTextElement(element)) {
|
||||
element.textAlign = DEFAULT_TEXT_ALIGN;
|
||||
if (!element.textAlign) {
|
||||
element.textAlign = DEFAULT_TEXT_ALIGN;
|
||||
}
|
||||
}
|
||||
|
||||
normalizeDimensions(element);
|
||||
|
|
Loading…
Add table
Reference in a new issue