提交 e4121f80 编写于 作者: A Adam Barth

Fix bug found by framework test

上级 9fe7992d
......@@ -388,11 +388,11 @@ Int32List _encodeParagraphStyle(TextAlign textAlign,
}
if (fontWeight != null) {
result[0] |= 1 << 2;
result[3] = fontWeight.index;
result[2] = fontWeight.index;
}
if (fontStyle != null) {
result[0] |= 1 << 3;
result[4] = fontStyle.index;
result[3] = fontStyle.index;
}
if (fontFamily != null) {
result[0] |= 1 << 4;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册