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:
Simon Hausmann 2021-02-02 09:07:01 +01:00
parent c479fd132d
commit 1f091cb1c0
16 changed files with 250 additions and 131 deletions

View file

@ -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 { }
}
]