mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
Remove the is_root_component within the component
There will be serveral roots, so this makes no sense.
This commit is contained in:
parent
8933f3308c
commit
408637a677
11 changed files with 31 additions and 72 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue