Width of command palette slightly increased
This commit is contained in:
@@ -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:
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user