mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Fix "Extend with gap" not considering gap for original
This commit is contained in:
parent
ba1efae692
commit
b7f703f272
@ -15130,7 +15130,15 @@ namespace Nikse.SubtitleEdit.Forms
|
||||
historyAdded = true;
|
||||
}
|
||||
|
||||
original.EndTime.TotalMilliseconds = Math.Min(nearestSceneChange * 1000, nearestOriginalStartTimeWithGap);
|
||||
if (!withGap)
|
||||
{
|
||||
original.EndTime.TotalMilliseconds = Math.Min(nearestSceneChange * 1000, nearestOriginalStartTimeWithGap);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
original.EndTime.TotalMilliseconds = Math.Min(nearestSceneChange * 1000 - Configuration.Settings.General.MinimumMillisecondsBetweenLines, nearestStartTimeWithGap);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user