Commit 35a2c744 authored by Adam Barth's avatar Adam Barth

Merge pull request #498 from abarth/text_broken

Unbreak text
parents 91115929 b5e0b7c9
...@@ -102,8 +102,9 @@ double _applyFloatingPointHack(double layoutValue) { ...@@ -102,8 +102,9 @@ double _applyFloatingPointHack(double layoutValue) {
class RenderParagraph extends RenderBox { class RenderParagraph extends RenderBox {
RenderParagraph(this._inline) { RenderParagraph(RenderInline inline) {
_layoutRoot.rootElement = _document.createElement('p'); _layoutRoot.rootElement = _document.createElement('p');
this.inline = inline;
} }
final sky.Document _document = new sky.Document(); final sky.Document _document = new sky.Document();
......
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