File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ export function handleOverlap(asset: ITimelineAsset) {
6464 const files : ITimelineAsset [ ] = [ ] ;
6565
6666 rowAssets [ asset . col ] = { ...rowAssets [ asset . col ] , ...asset } ;
67+ files . push ( rowAssets [ asset . col ] ) ;
6768 rowAssets . sort ( ( a , b ) => a . start - b . start ) ;
6869 rowAssets . forEach ( ( a , i ) => ( a . col = i ) ) ;
6970
@@ -73,11 +74,11 @@ export function handleOverlap(asset: ITimelineAsset) {
7374
7475 if ( prev . start <= curr . start && curr . start <= prev . start + prev . length ) {
7576 curr . start = prev . start + prev . length ;
77+ files . push ( curr ) ;
7678 }
7779 }
7880
7981 timelineAssetState . assets [ asset . row ] = rowAssets ;
80- files . push ( timelineAssetState . assets [ asset . row ] [ asset . col ] ) ;
8182
8283 const form = timelineAssetState . formRef ;
8384
You can’t perform that action at this time.
0 commit comments