Merge pull request #9841 from overleaf/em-track-changes-timestamps

Do not update timestamp when deleting part of tracked insertions

GitOrigin-RevId: 5833ed973b6be128cfd2a3b03c44e1d88eccad42
This commit is contained in:
Miguel Serrano 2022-10-05 16:13:23 +02:00 committed by Copybot
parent ddb907187e
commit 4e393bbe8c

View file

@ -537,7 +537,6 @@ class RangesTracker {
if (insertRemaining.length > 0) {
change.op.i = insertRemaining
change.op.p = Math.min(changeStart, opStart)
change.metadata.ts = metadata.ts
movedChanges.push(change)
} else {
removeChanges.push(change)