mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Bug fixed: Will always set the Short Display times
This commit is contained in:
parent
69ea484c6d
commit
7942906f30
@ -141,7 +141,7 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
if (displayTime < minDisplayTime)
|
||||
{
|
||||
Paragraph next = _working.GetParagraphOrDefault(i + 1);
|
||||
if (next == null || (p.StartTime.TotalMilliseconds + minDisplayTime < next.StartTime.TotalMilliseconds))
|
||||
if (next == null || (p.StartTime.TotalMilliseconds + minDisplayTime < next.StartTime.TotalMilliseconds) && AllowFix(p))
|
||||
{
|
||||
string before = p.StartTime.ToShortString() + " --> " + p.EndTime.ToShortString() + " - " + p.Duration.ToShortString();
|
||||
p.EndTime.TotalMilliseconds = p.StartTime.TotalMilliseconds + minDisplayTime;
|
||||
|
Loading…
Reference in New Issue
Block a user