vec2list projection: fix idx in Push
This commit is contained in:
parent
df50cf621b
commit
5397328c78
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ where
|
|||
}
|
||||
VecDiff::Push(val) => {
|
||||
self.cast.notify(&ListDiff::Insert{
|
||||
idx: self.cur_len + 1,
|
||||
idx: self.cur_len,
|
||||
val: val.clone()
|
||||
});
|
||||
self.cur_len += 1;
|
||||
|
|
Loading…
Reference in a new issue