mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-25 04:33:04 +01:00
Update gap between sentences in KaraokeEffect
Changed the constant value for the gap between sentences in the KaraokeEffect to 0. This adjustment aims to eliminate any flickering previously caused by a non-zero gap.
This commit is contained in:
parent
c17b0c1c31
commit
a103ec717e
@ -20,7 +20,9 @@ namespace Nikse.SubtitleEdit.Core.Common.TextEffect
|
||||
var duration = paragraph.DurationTotalMilliseconds - delay;
|
||||
var durationPerSentence = duration / result.Length;
|
||||
var baseStartTime = paragraph.StartTime.TotalMilliseconds;
|
||||
const double gapBetweenSentences = 1;
|
||||
|
||||
// the gaps must be 0 to avoid flickering
|
||||
const double gapBetweenSentences = 0;
|
||||
|
||||
var animations = new List<Paragraph>();
|
||||
for (var i = 0; i < result.Length; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user