Commit 228469bb authored by Adam Barth's avatar Adam Barth

Enable the new TextPainter

parent 54956963
......@@ -119,7 +119,7 @@ class StyledTextSpan extends TextSpan {
}
}
const bool _kEnableNewTextPainter = false;
const bool _kEnableNewTextPainter = true;
abstract class TextPainter {
......
......@@ -166,8 +166,7 @@ class TextStyle {
ui.ParagraphStyle get paragraphStyle {
return new ui.ParagraphStyle(
// TODO(abarth): Restore once the analyzer can see the new dart:ui interface.
// textAlign: textAlign,
textAlign: textAlign,
textBaseline: textBaseline,
lineHeight: height
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment