Check for radial property as well when predicting gradient color type.

This commit is contained in:
Jürg Lehni 2013-05-08 20:19:40 -07:00
parent 67aacb9552
commit 731a873884

View file

@ -526,6 +526,7 @@ var Color = this.Color = Base.extend(new function() {
? 'hsl'
: 'hsb'
: 'gradient' in arg || 'stops' in arg
|| 'radial' in arg
? 'gradient'
: 'gray' in arg
? 'gray'