Do not pass document as the item for Document#currentStyle.

This commit is contained in:
Jürg Lehni 2011-05-07 13:39:40 +01:00
parent dabc2b97ed
commit 430a8fb290

View file

@ -98,7 +98,7 @@ var Document = this.Document = Base.extend({
},
setCurrentStyle: function(style) {
this._currentStyle = PathStyle.create(this, style);
this._currentStyle = PathStyle.create(null, style);
},
activate: function() {