mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Make the viewport element of the flickable a real Element in the object_tree
This commit is contained in:
parent
7589a301f2
commit
a712f515fa
11 changed files with 430 additions and 437 deletions
|
@ -50,6 +50,7 @@ mod passes {
|
|||
pub mod deduplicate_property_read;
|
||||
pub mod default_geometry;
|
||||
pub mod embed_resources;
|
||||
pub mod flickable;
|
||||
pub mod focus_item;
|
||||
pub mod generate_item_indices;
|
||||
pub mod inlining;
|
||||
|
@ -160,6 +161,10 @@ pub async fn run_passes(
|
|||
passes::focus_item::resolve_element_reference_in_set_focus_calls(&doc.root_component, diag);
|
||||
passes::focus_item::determine_initial_focus_item(&doc.root_component, diag);
|
||||
passes::focus_item::erase_forward_focus_properties(&doc.root_component);
|
||||
passes::flickable::handle_flickable(
|
||||
&doc.root_component,
|
||||
&type_loader.global_type_registry.borrow(),
|
||||
);
|
||||
passes::materialize_fake_properties::materialize_fake_properties(&doc.root_component);
|
||||
if compiler_config.embed_resources {
|
||||
passes::embed_resources::embed_resources(&doc.root_component);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue