mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +03:00
make sure player deltas are sorted
This commit is contained in:
parent
6efd814c6e
commit
55312efce5
@ -30,6 +30,7 @@
|
||||
sessionId: sessions[j].id,
|
||||
deltas: frameDeltas
|
||||
.filter((delta) => delta[0] === frameFilepath)
|
||||
.sort((a, b) => a[1].timestampMs - b[1].timestampMs)
|
||||
.map((delta) => delta[1]),
|
||||
filepath: frameFilepath,
|
||||
doc: $files.value[j][frameFilepath] || ''
|
||||
|
Loading…
Reference in New Issue
Block a user