#291 Leaving fullscreen using keepaspect-window=no restores the correct size

This commit is contained in:
Frank Skare
2021-08-16 11:12:53 +02:00
parent 9ead5dbd19
commit 1c525618e2
2 changed files with 2 additions and 1 deletions

View File

@@ -18,6 +18,7 @@
- The recent list can also be shown in the command palette:
Alt+r script-message mpv.net show-recent #menu: View > Show Recent
- The recent context menu removes the folder info in case of very long paths.
- Leaving fullscreen using keepaspect-window=no restores the correct size.
- libmpv shinchiro 2021-08-01

View File

@@ -387,7 +387,7 @@ namespace mpvnet
if (Core.WasInitialSizeSet)
{
if (App.StartSize == "always")
if (App.StartSize == "always" || !Core.KeepaspectWindow)
{
width = ClientSize.Width;
height = ClientSize.Height;