From 731a873884b3dc3e7873544e819179bfeb5339e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 8 May 2013 20:19:40 -0700 Subject: [PATCH] Check for radial property as well when predicting gradient color type. --- src/style/Color.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/style/Color.js b/src/style/Color.js index ef5a8a79..52e402e8 100644 --- a/src/style/Color.js +++ b/src/style/Color.js @@ -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'