split font into fontSize and fontFamily (#1635)

This commit is contained in:
David Luzar 2020-05-27 15:14:50 +02:00 committed by GitHub
parent 46b574283f
commit 63c10743fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 240 additions and 116 deletions

View file

@ -78,7 +78,8 @@ it("clones text element", () => {
roughness: 1,
opacity: 100,
text: "hello",
font: "Arial 20px",
fontSize: 20,
fontFamily: 1,
textAlign: "left",
});