Propagate chain cells through gaps inserted at cue rows
This commit is contained in:
@@ -373,7 +373,9 @@ func (tl *Timeline) insertGap(track *TimelineTrack, beforeIndex int) {
|
|||||||
gap := &TimelineCell{Type: CellGap, row: beforeIndex, track: track}
|
gap := &TimelineCell{Type: CellGap, row: beforeIndex, track: track}
|
||||||
if beforeIndex > 0 {
|
if beforeIndex > 0 {
|
||||||
prev := track.Cells[beforeIndex-1]
|
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.Type = CellContinuation
|
||||||
gap.BlockID = prev.BlockID
|
gap.BlockID = prev.BlockID
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user