From fd8b97b22859690e04446db767cd022779f6658c Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Mon, 25 Oct 2021 16:02:51 +0200 Subject: [PATCH] Do the materialize_fake_properties before inlining --- sixtyfps_compiler/passes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sixtyfps_compiler/passes.rs b/sixtyfps_compiler/passes.rs index 3836761e1..4a1891443 100644 --- a/sixtyfps_compiler/passes.rs +++ b/sixtyfps_compiler/passes.rs @@ -108,10 +108,10 @@ pub async fn run_passes( ); default_geometry::default_geometry(component, diag); visible::handle_visible(component, &global_type_registry.borrow()); + materialize_fake_properties::materialize_fake_properties(component); } inlining::inline(doc, inlining::InlineSelection::InlineAllComponents); - materialize_fake_properties::materialize_fake_properties(root_component); ensure_window::ensure_window(root_component, &doc.local_registry); apply_default_properties_from_style::apply_default_properties_from_style( root_component,