mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 04:48:27 +00:00
Builtin elements: use the input output syntax
This commit is contained in:
parent
63cd49fb46
commit
8dbe745fc4
5 changed files with 342 additions and 329 deletions
|
|
@ -105,10 +105,10 @@ impl NamedReference {
|
|||
continue;
|
||||
}
|
||||
ElementType::Builtin(b) => {
|
||||
return b.properties.get(self.name()).map_or(true, |pi| !pi.is_native_output)
|
||||
return b.properties.get(self.name()).map_or(true, |pi| !pi.is_native_output())
|
||||
}
|
||||
ElementType::Native(n) => {
|
||||
return n.properties.get(self.name()).map_or(true, |pi| !pi.is_native_output)
|
||||
return n.properties.get(self.name()).map_or(true, |pi| !pi.is_native_output())
|
||||
}
|
||||
crate::langtype::ElementType::Error | crate::langtype::ElementType::Global => {
|
||||
return true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue