mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Check for radial property as well when predicting gradient color type.
This commit is contained in:
parent
67aacb9552
commit
731a873884
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue