Commit e9db2fcd authored by Adam Barth's avatar Adam Barth

Merge pull request #409 from abarth/stack_repaint

Stacked does not repaint when its position changes
parents 9ac5c543 a98ac70b
...@@ -887,8 +887,8 @@ abstract class RenderObjectWrapper extends Widget { ...@@ -887,8 +887,8 @@ abstract class RenderObjectWrapper extends Widget {
if (parentData != null) { if (parentData != null) {
assert(root.parentData != null); assert(root.parentData != null);
root.parentData.merge(parentData); // this will throw if the types aren't appropriate root.parentData.merge(parentData); // this will throw if the types aren't appropriate
if (parent.root != null) if (ancestor != null && ancestor.root != null)
parent.root.markNeedsLayout(); ancestor.root.markNeedsLayout();
} }
} }
......
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