mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-30 22:01:13 +00:00
So
animate x { ... }
is basically a short-hand for
PropertyAnimation {
...
}
<magically associated that animation with x whenever x is changed>
We could also support a shared animation syntax in the future:
blah := PropertyAnimation { ... }
animate x with blah;
animate y with blah;
This patch also adds a primitive PropertyAnimation struct, which will be
used by the generated code to collect the values specified in the .60
markup.
|
||
|---|---|---|
| .. | ||
| cases | ||
| driver | ||
| driver_lib | ||
| rustdriver | ||