Make Widget::diff mutable
This commit is contained in:
parent
31bc6d48cd
commit
497ebcd0c3
31 changed files with 114 additions and 81 deletions
|
|
@ -82,7 +82,7 @@ where
|
|||
let size = limits.max();
|
||||
|
||||
self.content = (self.view)(size);
|
||||
state.tree.diff(&self.content);
|
||||
state.tree.diff(&mut self.content);
|
||||
|
||||
self.content.as_widget_mut().layout(
|
||||
&mut state.tree,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue