mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Print a warning when trying to animate deprecated properties
This commit is contained in:
parent
246398fcb3
commit
c771bcff45
10 changed files with 30 additions and 18 deletions
|
@ -508,7 +508,7 @@ Simple animation that animates a property can be declared with `animate` like so
|
|||
Example := Rectangle {
|
||||
property<bool> pressed;
|
||||
background: pressed ? blue : red;
|
||||
animate color {
|
||||
animate background {
|
||||
duration: 100ms;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue