mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 06:41:14 +00:00
Rename Rectangle.color to Rectangle.background
Add support for built-in property aliases and rename `color` to `background` - in preparation for it also changing to type brush. Right now the alias is silent, a deprecation and overall change will come in a subsequent change.
This commit is contained in:
parent
c479fd132d
commit
1f091cb1c0
16 changed files with 250 additions and 131 deletions
|
@ -24,7 +24,7 @@ TestCase := Rectangle {
|
|||
animate * { }
|
||||
}
|
||||
in checked: {
|
||||
// ^error{The property 'color' cannot have transition because it already has an animation}
|
||||
// ^error{The property 'background' cannot have transition because it already has an animation}
|
||||
animate color { }
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue