mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Merge pull request #2195 from ivandrofly/timed_text
[TimedText] - Exit as soon 'all30OrBelow' changes state.
This commit is contained in:
commit
8fbfec9bf4
@ -302,7 +302,10 @@ namespace Nikse.SubtitleEdit.Core.SubtitleFormats
|
||||
foreach (Paragraph p in subtitle.Paragraphs)
|
||||
{
|
||||
if (p.StartTime.Milliseconds > 30 || p.EndTime.Milliseconds > 30)
|
||||
{
|
||||
all30OrBelow = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (all30OrBelow)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user