mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #409 from abarth/stack_repaint
Stacked does not repaint when its position changes
This commit is contained in:
commit
e9db2fcde9
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user