Fix visibility on drop shadow

`visible:false` would't hide the drop shadow

Fixes: #1460
This commit is contained in:
Olivier Goffart 2022-11-29 16:05:50 +01:00 committed by Olivier Goffart
parent 01a9309895
commit 151df7167d

View file

@ -137,6 +137,7 @@ pub async fn run_passes(
&global_type_registry.borrow(),
diag,
);
visible::handle_visible(component, &global_type_registry.borrow());
lower_shadows::lower_shadow_properties(component, &doc.local_registry, diag);
lower_property_to_element::lower_property_to_element(
component,
@ -163,7 +164,6 @@ pub async fn run_passes(
diag,
);
clip::handle_clip(component, &global_type_registry.borrow(), diag);
visible::handle_visible(component, &global_type_registry.borrow());
if compiler_config.accessibility {
lower_accessibility::lower_accessibility_properties(component, diag);
}