Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Apr 20, 2019
1 parent a0e30ff commit 6fc0ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpv.net/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ void ContextMenu_Opening(object sender, CancelEventArgs e)
foreach (var i in mp.Chapters)
{
MenuItemEx mi = ContextMenu.Add("Navigate > Chapters > " + i.Key);
mi.ShortcutKeyDisplayString = TimeSpan.FromSeconds(i.Value).ToString() + " ";
mi.ShortcutKeyDisplayString = TimeSpan.FromSeconds(i.Value).ToString().Substring(0, 8) + " ";
mi.Action = () => { mp.commandv("seek", i.Value.ToString(CultureInfo.InvariantCulture), "absolute"); };
}
}
Expand Down

0 comments on commit 6fc0ebf

Please sign in to comment.