提交 3cd54447 编写于 作者: H Hixie

remove debugging prints that snuck through

TBR=abarth

Review URL: https://codereview.chromium.org/1162443003
上级 63d5c73d
......@@ -96,12 +96,10 @@ class RenderScaffold extends RenderDecoratedBox {
double bodyHeight = height;
double bodyPosition = 0.0;
if (toolbar != null) {
print("laying out toolbar...");
toolbar.layout(new BoxConstraints.tight(width: width, height: kToolbarHeight));
assert(toolbar.parentData is BoxParentData);
toolbar.parentData.x = 0.0;
toolbar.parentData.y = 0.0;
print("...at ${toolbar.parentData.x},${toolbar.parentData.y} dim ${toolbar.width}x${toolbar.height}");
bodyPosition = kToolbarHeight;
bodyHeight -= kToolbarHeight;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册