Propagate chain cells through gaps inserted at cue rows

This commit is contained in:
Ian Gulliver
2026-02-21 23:15:33 -08:00
parent 9ae5204733
commit 0341b5e1d8

View File

@@ -373,7 +373,9 @@ func (tl *Timeline) insertGap(track *TimelineTrack, beforeIndex int) {
gap := &TimelineCell{Type: CellGap, row: beforeIndex, track: track}
if beforeIndex > 0 {
prev := track.Cells[beforeIndex-1]
if prev.BlockID != "" && prev.Event != "END" && prev.Event != "GO" {
if prev.Type == CellChain {
gap.Type = CellChain
} else if prev.BlockID != "" && prev.Event != "END" && prev.Event != "GO" {
gap.Type = CellContinuation
gap.BlockID = prev.BlockID
}