catch error produced when part slices to nothing but still has an anchor
This commit is contained in:
parent
e3a6991845
commit
32acfe376d
1 changed files with 3 additions and 2 deletions
|
|
@ -365,8 +365,9 @@
|
|||
addto.up = start;
|
||||
start.down = addto;
|
||||
slices.splice(0,0,addto);
|
||||
// } else {
|
||||
// console.log({add_to_existing_slice: addto});
|
||||
} else if (!addto.belt) {
|
||||
console.log({addto_missing_belt: addto});
|
||||
addto.belt = {};
|
||||
}
|
||||
addto.index = -1;
|
||||
addto.belt.anchor = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue