mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Set the maximum end time seen correctly in select-overlaps
This commit is contained in:
parent
b2f5a993d9
commit
ffb8c29ca2
@ -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…
x
Reference in New Issue
Block a user