fix: whops, (I don't know why this bug is still here)

This commit is contained in:
cschen 2024-09-01 15:49:54 +02:00
parent 487a490887
commit d0d57f6fd5

View file

@ -108,7 +108,7 @@ impl ControllerWorker<TextChange> for BufferWorker {
let last_ver = oplog.local_version();
if change.is_delete() {
branch.delete_without_content(&mut oplog, 1, change.start as usize..change.end as usize);
branch.delete_without_content(&mut oplog, agent_id, change.start as usize..change.end as usize);
}
if change.is_insert() {