mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
9 lines
212 B
Text
9 lines
212 B
Text
SuperSimple := Rectangle {
|
|
color: area.pressed ? green : blue;
|
|
property<color> c2: area.pressed ? 123 : 456;
|
|
// ^error{Cannot convert float to color}
|
|
|
|
area := TouchArea {
|
|
}
|
|
}
|
|
|