mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-28 06:52:35 +01:00
Remove tags from "next subtitle label" in waveform - thx OmrSi :)
This commit is contained in:
parent
9a7b8c92d1
commit
b6e902eb04
@ -13069,7 +13069,7 @@ namespace Nikse.SubtitleEdit.Forms
|
|||||||
if (next != null && !string.IsNullOrEmpty(next.Text))
|
if (next != null && !string.IsNullOrEmpty(next.Text))
|
||||||
{
|
{
|
||||||
labelNextWord.Top = audioVisualizer.Top;
|
labelNextWord.Top = audioVisualizer.Top;
|
||||||
labelNextWord.Text = string.Format(_language.NextX, next.Text.Replace(Environment.NewLine, " "));
|
labelNextWord.Text = string.Format(_language.NextX, HtmlUtil.RemoveHtmlTags(next.Text, true).Replace(Environment.NewLine, " "));
|
||||||
labelNextWord.Left = audioVisualizer.Width / 2 - labelNextWord.Width / 2 + audioVisualizer.Left;
|
labelNextWord.Left = audioVisualizer.Width / 2 - labelNextWord.Width / 2 + audioVisualizer.Left;
|
||||||
labelNextWord.Visible = true;
|
labelNextWord.Visible = true;
|
||||||
_labelNextTicks = DateTime.UtcNow.Ticks;
|
_labelNextTicks = DateTime.UtcNow.Ticks;
|
||||||
|
Loading…
Reference in New Issue
Block a user