mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Rename private move() -> insert(), to reflect recent name changes.
This commit is contained in:
parent
bbcec27031
commit
7d2f10f22b
1 changed files with 3 additions and 3 deletions
|
@ -89,7 +89,7 @@ var Layer = this.Layer = Group.extend({
|
|||
this._project.activeLayer = this;
|
||||
}
|
||||
}, new function () {
|
||||
function move(above) {
|
||||
function insert(above) {
|
||||
return function(item) {
|
||||
// If the item is a layer and contained within Project#layers, use
|
||||
// our own version of move().
|
||||
|
@ -105,8 +105,8 @@ var Layer = this.Layer = Group.extend({
|
|||
}
|
||||
|
||||
return {
|
||||
insertAbove: move(true),
|
||||
insertAbove: insert(true),
|
||||
|
||||
insertBelow: move(false)
|
||||
insertBelow: insert(false)
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue