Width of command palette slightly increased

This commit is contained in:
stax76
2022-06-20 19:24:24 +02:00
parent a148c88435
commit 7ef1f9315e
3 changed files with 5 additions and 3 deletions

View File

@@ -11,6 +11,8 @@
- Fix script compatibility with mordenx and mpv-osc-tethys. - Fix script compatibility with mordenx and mpv-osc-tethys.
- Fix borderless window not resizable with mouse. - Fix borderless window not resizable with mouse.
- Fix start-size=session not working. - Fix start-size=session not working.
- Width of command palette slightly increased.
- libmpv zhongfly 2022-06-19
input.conf changes: input.conf changes:

View File

@@ -151,8 +151,8 @@ namespace mpvnet
get { get {
if (string.IsNullOrEmpty(Path)) if (string.IsNullOrEmpty(Path))
{ {
if (Command.Length > 50) if (Command.Length > 47)
return Command.Substring(0, 50) + "..."; return Command.Substring(0, 47) + "...";
return Command; return Command;
} }
else else

View File

@@ -1333,7 +1333,7 @@ namespace mpvnet
if (CommandPaletteHost == null) if (CommandPaletteHost == null)
return; return;
CommandPaletteHost.Width = FontHeight * 25; CommandPaletteHost.Width = FontHeight * 27;
if (CommandPaletteHost.Width > ClientSize.Width) if (CommandPaletteHost.Width > ClientSize.Width)
CommandPaletteHost.Width = ClientSize.Width; CommandPaletteHost.Width = ClientSize.Width;