From 2f0de974701dd1b48e0a020ae012cba92c4c2981 Mon Sep 17 00:00:00 2001 From: Edward Date: Thu, 5 Jul 2018 13:39:35 +0800 Subject: [PATCH] g.circular.js --- g.circular.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g.circular.js b/g.circular.js index dd67b40..f55ea92 100644 --- a/g.circular.js +++ b/g.circular.js @@ -69,7 +69,7 @@ Roo = typeof(Roo) != 'undefined' ? Roo: (imports ? imports.seed.Roo.Roo: {}); var barwidth = opts.barwidth || Math.min(Math.floor(r / cut), 12); if(len < 8){ - colors = colors.slice(2); + colors = colors.slice(10 - len); } if(opts.colors){ -- 2.39.2