Iterate from leaf to root when marking views dirty in notify
This commit is contained in:
parent
8f262892a0
commit
8f1633e798
1 changed files with 2 additions and 0 deletions
|
@ -2761,6 +2761,8 @@ impl<'a, V: 'static> ViewContext<'a, V> {
|
|||
.rendered_frame
|
||||
.dispatch_tree
|
||||
.view_path(self.view.entity_id())
|
||||
.into_iter()
|
||||
.rev()
|
||||
{
|
||||
if !self.window.dirty_views.insert(view_id) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue