Skip to content

Commit

Permalink
Fix title change asteriks
Browse files Browse the repository at this point in the history
  • Loading branch information
niksedk committed Nov 8, 2020
1 parent 926fb79 commit 35d5faf
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/Forms/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18913,12 +18913,17 @@ private void ButtonStartOneMinuteAheadClick(object sender, EventArgs e)

private void ShowSubtitleTimerTick(object sender, EventArgs e)
{
ShowSubtitleTimer.Stop();

if (_subtitle == null || _subtitle.Paragraphs.Count == 0)
{
return;
ShowSubtitleTimer.Interval = 250;
}
else
{
ShowSubtitleTimer.Interval = 17;
}

ShowSubtitleTimer.Stop();
if (mediaPlayer.VideoPlayer != null)
{
int oldIndex = FirstSelectedIndex;
Expand Down

0 comments on commit 35d5faf

Please sign in to comment.