diff --git a/src/path/Path.js b/src/path/Path.js index 4bb1e4ac..bed45460 100644 --- a/src/path/Path.js +++ b/src/path/Path.js @@ -746,7 +746,7 @@ var Path = this.Path = PathItem.extend({ _setStyles: function(ctx) { for (var i in styles) { - var style = this[i](); + var style = this._style[i](); if (style) ctx[styles[i]] = style; }