Drawing flicker in the command palette (playlist) was fixed
This commit is contained in:
@@ -10,6 +10,7 @@
|
|||||||
- Profile selection in the context menu.
|
- Profile selection in the context menu.
|
||||||
- Use defaults in case settings.xml fails loading (not reproducible).
|
- Use defaults in case settings.xml fails loading (not reproducible).
|
||||||
- conf editor support for keepaspect-window.
|
- conf editor support for keepaspect-window.
|
||||||
|
- Drawing flicker in the command palette (playlist) was fixed.
|
||||||
- libmpv shinchiro 2021-07-18
|
- libmpv shinchiro 2021-07-18
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1096,12 +1096,16 @@ namespace mpvnet
|
|||||||
{
|
{
|
||||||
if (CommandPaletteHost != null)
|
if (CommandPaletteHost != null)
|
||||||
{
|
{
|
||||||
|
CommandPaletteHost.Visible = false;
|
||||||
|
CommandPalette.Instance.Items.Clear();
|
||||||
|
CommandPalette.Instance.SearchControl.SearchTextBox.Text = "";
|
||||||
|
CommandPalette.Instance.UpdateLayout();
|
||||||
|
|
||||||
ActiveControl = null;
|
ActiveControl = null;
|
||||||
Controls.Remove(CommandPaletteHost);
|
Controls.Remove(CommandPaletteHost);
|
||||||
CommandPaletteHost.Child = null;
|
CommandPaletteHost.Child = null;
|
||||||
CommandPaletteHost.Dispose();
|
CommandPaletteHost.Dispose();
|
||||||
CommandPaletteHost = null;
|
CommandPaletteHost = null;
|
||||||
CommandPalette.Instance.SearchControl.SearchTextBox.Text = "";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user