get styles directly from _style object rather than passing through getters on Item.

This commit is contained in:
Jürg Lehni 2011-05-16 18:57:47 +01:00
parent da670b4171
commit c8c47bf641

View file

@ -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;
}