mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-07-23 12:18:45 -04: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) {
|
set: function(props) {
|
||||||
if (props)
|
if (props)
|
||||||
this._set(props);
|
this._set(props, { insert: true });
|
||||||
return this;
|
return this;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue