Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
f39c22ecec295d44eb1604e0a5dd5400093f0322
Description
If a gradient and a color are set on a rectangle, the gradient is used. This means that if you wish to override the gradient on a component with a color, you have to unset the gradient as well as set the color.
This works if you do 'gradient: null'. However I was under the impression that one should use 'property: undefined' to reset (resettable) properties to their unset state, which is really what one wants here. Then it should be possible to use 'gradient: undefined' as well to reset gradient so that Rectangle uses color.