mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-28 21:04:47 +00:00
Two ways binding with optimized public property in the interpreter
This commit is contained in:
parent
b5d7adef7d
commit
0cb827a901
5 changed files with 104 additions and 34 deletions
|
@ -512,6 +512,9 @@ fn generate_component<'id>(
|
|||
}
|
||||
|
||||
for (name, decl) in &root_component.root_element.borrow().property_declarations {
|
||||
if decl.is_alias.is_some() {
|
||||
continue;
|
||||
}
|
||||
let (prop, type_info) = match decl.property_type {
|
||||
Type::Float32 => animated_property_info::<f32>(),
|
||||
Type::Int32 => animated_property_info::<i32>(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue