mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-03 19:45:44 -05:00
Filter out insert property in Item#set()
This commit is contained in:
parent
f7a1af4fda
commit
e2b06b8e54
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
*/
|
||||
set: function(props) {
|
||||
if (props)
|
||||
this._set(props);
|
||||
this._set(props, { insert: true });
|
||||
return this;
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue