fix ref offset issue
This commit is contained in:
parent
a059fa12e9
commit
e86d5ba25b
@ -739,6 +739,7 @@ export class ItemRef extends AbstractStructRef {
|
||||
this.id.clock += offset
|
||||
this.left = createID(this.id.client, this.id.clock - 1)
|
||||
this.content = this.content.splice(offset)
|
||||
this.length -= offset
|
||||
}
|
||||
|
||||
const left = this.left === null ? null : getItemCleanEnd(transaction, store, this.left)
|
||||
|
Loading…
x
Reference in New Issue
Block a user