Update engine

Also, pass font information to ui.ParagraphStyle.
This commit is contained in:
Adam Barth
2016-03-30 09:41:05 -07:00
parent 89143313cb
commit 89076c95f0
2 changed files with 6 additions and 2 deletions

View File

@@ -1 +1 @@
ce3b4547ac579f67a6e473f7f5b5eac4357424ff
516c096d987f9b04ac24af440396f693947e98ab

View File

@@ -164,7 +164,7 @@ class TextStyle {
fontSize: fontSize,
letterSpacing: letterSpacing,
wordSpacing: wordSpacing,
lineHeight: height
height: height
);
}
@@ -172,6 +172,10 @@ class TextStyle {
return new ui.ParagraphStyle(
textAlign: textAlign,
textBaseline: textBaseline,
fontWeight: fontWeight,
fontStyle: fontStyle,
fontFamily: fontFamily,
fontSize: fontSize,
lineHeight: height
);
}