Remove shortcut limit for duration - thx Leon :)

Related to #5438
This commit is contained in:
niksedk 2021-11-03 17:08:21 +01:00
parent 5d5147ecb5
commit 29dd2c00f7

View File

@ -22562,7 +22562,7 @@ namespace Nikse.SubtitleEdit.Forms
var tc = TimeCode.FromSeconds(videoPosition); var tc = TimeCode.FromSeconds(videoPosition);
double offset = tc.TotalMilliseconds - _subtitle.Paragraphs[index].EndTime.TotalMilliseconds; double offset = tc.TotalMilliseconds - _subtitle.Paragraphs[index].EndTime.TotalMilliseconds;
if (_subtitle.Paragraphs[index].StartTime.TotalMilliseconds + 100 > tc.TotalMilliseconds || offset > Configuration.Settings.General.SubtitleMaximumDisplayMilliseconds) if (_subtitle.Paragraphs[index].StartTime.TotalMilliseconds + 100 > tc.TotalMilliseconds)
{ {
return; return;
} }