Set the maximum end time seen correctly in select-overlaps
This commit is contained in:
parent
b2f5a993d9
commit
ffb8c29ca2
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ select_overlaps = function(subs)
|
|||
for _index_0 = 1, #_list_0 do
|
||||
local line = _list_0[_index_0]
|
||||
if line.start_time >= end_time then
|
||||
end_time = line.start_time
|
||||
end_time = line.end_time
|
||||
else
|
||||
table.insert(overlaps, line.i)
|
||||
end
|
||||
|
|
|
@ -33,7 +33,7 @@ select_overlaps = (subs) ->
|
|||
overlaps = {}
|
||||
for line in *dialogue
|
||||
if line.start_time >= end_time
|
||||
end_time = line.start_time
|
||||
end_time = line.end_time
|
||||
else
|
||||
table.insert overlaps, line.i
|
||||
overlaps
|
||||
|
|
Loading…
Reference in a new issue