Make Widget::diff mutable
This commit is contained in:
parent
31bc6d48cd
commit
497ebcd0c3
31 changed files with 114 additions and 81 deletions
|
|
@ -100,7 +100,7 @@ where
|
|||
let mut root = root.into();
|
||||
|
||||
let Cache { mut state } = cache;
|
||||
state.diff(root.as_widget());
|
||||
state.diff(root.as_widget_mut());
|
||||
|
||||
let base = root.as_widget_mut().layout(
|
||||
&mut state,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue