forked from mystiq/hydrogen-web
i think this is fine now?
This commit is contained in:
parent
e34a92e2ec
commit
7b38df45da
1 changed files with 0 additions and 1 deletions
|
@ -161,7 +161,6 @@ export class ListRange extends Range {
|
||||||
return {type: ResultType.Move, fromIdx, toIdx};
|
return {type: ResultType.Move, fromIdx, toIdx};
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO
|
|
||||||
const addIdx = this.clampIndex(toIdx);
|
const addIdx = this.clampIndex(toIdx);
|
||||||
const removeIdx = this.clampIndex(fromIdx);
|
const removeIdx = this.clampIndex(fromIdx);
|
||||||
const addValue = addIdx === toIdx ? value : getIteratorValueAtIdx(list[Symbol.iterator](), addIdx)!;
|
const addValue = addIdx === toIdx ? value : getIteratorValueAtIdx(list[Symbol.iterator](), addIdx)!;
|
||||||
|
|
Loading…
Reference in a new issue