Merge pull request #409 from abarth/stack_repaint

Stacked does not repaint when its position changes
This commit is contained in:
Adam Barth 2015-07-31 10:21:08 -07:00
commit e9db2fcde9

View File

@ -887,8 +887,8 @@ abstract class RenderObjectWrapper extends Widget {
if (parentData != null) {
assert(root.parentData != null);
root.parentData.merge(parentData); // this will throw if the types aren't appropriate
if (parent.root != null)
parent.root.markNeedsLayout();
if (ancestor != null && ancestor.root != null)
ancestor.root.markNeedsLayout();
}
}