From c8c47bf641ab8fba8d26ad23974c2e1b95768930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 16 May 2011 18:57:47 +0100 Subject: [PATCH] get styles directly from _style object rather than passing through getters on Item. --- src/path/Path.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }