mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
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:
parent
3b9309a0dd
commit
686df50e9f
5 changed files with 45 additions and 16 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue