do not center text when not applicable (#1783)

This commit is contained in:
David Luzar
2020-06-25 21:21:27 +02:00
committed by GitHub
parent 9c89504b6f
commit cd87bd6901
16 changed files with 418 additions and 321 deletions

View File

@ -81,6 +81,7 @@ it("clones text element", () => {
fontSize: 20,
fontFamily: 1,
textAlign: "left",
verticalAlign: "top",
});
const copy = duplicateElement(null, new Map(), element);