mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 18:58:36 +00:00
Fix detection of properties when they are only used in two way bindings
Fixes #2166
This commit is contained in:
parent
7fd75a8ba0
commit
85526d772e
11 changed files with 64 additions and 6 deletions
|
@ -62,3 +62,10 @@ export Ex3 := Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
export component Ex4 {
|
||||
in property rot <=> rect . rotation-angle;
|
||||
|
||||
rect := Rectangle {}
|
||||
// ^error{rotation properties can only be applied to the Image element}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue