Drawing flicker in the command palette (playlist) was fixed

This commit is contained in:
Frank Skare
2021-07-29 14:25:37 +02:00
parent ea56dcdda8
commit 8d49c96c57
2 changed files with 6 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
- Profile selection in the context menu.
- Use defaults in case settings.xml fails loading (not reproducible).
- conf editor support for keepaspect-window.
- Drawing flicker in the command palette (playlist) was fixed.
- libmpv shinchiro 2021-07-18

View File

@@ -1096,12 +1096,16 @@ namespace mpvnet
{
if (CommandPaletteHost != null)
{
CommandPaletteHost.Visible = false;
CommandPalette.Instance.Items.Clear();
CommandPalette.Instance.SearchControl.SearchTextBox.Text = "";
CommandPalette.Instance.UpdateLayout();
ActiveControl = null;
Controls.Remove(CommandPaletteHost);
CommandPaletteHost.Child = null;
CommandPaletteHost.Dispose();
CommandPaletteHost = null;
CommandPalette.Instance.SearchControl.SearchTextBox.Text = "";
}
}