Remove the is_root_component within the component

There will be serveral roots, so this makes no sense.
This commit is contained in:
Olivier Goffart 2024-06-20 15:06:23 +02:00
parent 8933f3308c
commit 408637a677
11 changed files with 31 additions and 72 deletions

View file

@ -249,8 +249,6 @@ impl Snapshotter {
r.inherits_popup_window.set(component.inherits_popup_window.get());
*r.exported_global_names.borrow_mut() = component.exported_global_names.borrow().clone();
*r.private_properties.borrow_mut() = component.private_properties.borrow().clone();
r.is_root_component.set(component.is_root_component.get());
*r.root_element.borrow_mut() = root_element.take();
*r.child_insertion_point.borrow_mut() = child_insertion_point;
*r.popup_windows.borrow_mut() = popup_windows;