Revive support for rotation of elements

The rotation-angle/rotation-origin-x/y properties are lowered to an
injected Rotate element, that we already had.

This needs further fixes for transforming input events and an
implementation of rotation in Skia.
This commit is contained in:
Simon Hausmann 2022-08-11 09:48:07 +02:00 committed by Simon Hausmann
parent 3b9309a0dd
commit 686df50e9f
5 changed files with 45 additions and 16 deletions

View file

@ -139,6 +139,13 @@ pub async fn run_passes(
diag,
);
lower_shadows::lower_shadow_properties(component, &doc.local_registry, diag);
lower_property_to_element::lower_property_to_element(
component,
"rotation-angle",
"Rotate",
&global_type_registry.borrow(),
diag,
);
clip::handle_clip(component, &global_type_registry.borrow(), diag);
visible::handle_visible(component, &global_type_registry.borrow());
if compiler_config.accessibility {