mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-05-23 02:56:43 -04:00
Do not pass document as the item for Document#currentStyle.
This commit is contained in:
parent
dabc2b97ed
commit
430a8fb290
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue