Merge pull request #498 from abarth/text_broken

Unbreak text
This commit is contained in:
Adam Barth
2015-08-07 10:38:16 -07:00

View File

@@ -102,8 +102,9 @@ double _applyFloatingPointHack(double layoutValue) {
class RenderParagraph extends RenderBox {
RenderParagraph(this._inline) {
RenderParagraph(RenderInline inline) {
_layoutRoot.rootElement = _document.createElement('p');
this.inline = inline;
}
final sky.Document _document = new sky.Document();