Checkpoint

This commit is contained in:
Antonio Scandurra
2023-10-17 11:08:48 +02:00
parent ac5b32c491
commit fb1e7eef6b
14 changed files with 223 additions and 111 deletions
+1 -1
View File
@@ -600,7 +600,7 @@ impl<'a, 'w> WindowContext<'a, 'w> {
let mut root_view = cx.window.root_view.take().unwrap();
if let Some(element_id) = root_view.element_id() {
if let Some(element_id) = root_view.id() {
cx.with_element_state(element_id, |element_state, cx| {
let element_state = draw_with_element_state(&mut root_view, element_state, cx);
((), element_state)