mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
i think this is fine now?
This commit is contained in:
parent
e34a92e2ec
commit
7b38df45da
@ -161,7 +161,6 @@ export class ListRange extends Range {
|
||||
return {type: ResultType.Move, fromIdx, toIdx};
|
||||
}
|
||||
} else {
|
||||
// TODO
|
||||
const addIdx = this.clampIndex(toIdx);
|
||||
const removeIdx = this.clampIndex(fromIdx);
|
||||
const addValue = addIdx === toIdx ? value : getIteratorValueAtIdx(list[Symbol.iterator](), addIdx)!;
|
||||
|
Loading…
Reference in New Issue
Block a user