logo issue fix

This commit is contained in:
Frank Skare
2021-05-24 11:13:49 +02:00
parent 9d27465492
commit b8163c3c3e
2 changed files with 6 additions and 6 deletions

View File

@@ -383,7 +383,7 @@ namespace mpvnet
height = autoFitHeight;
width = height * videoSize.Width / videoSize.Height;
}
if (App.StartSize == "width-always" && windowSize.Height != 0)
else if(App.StartSize == "width-always" && windowSize.Height != 0)
{
width = windowSize.Width;
height = (int)Math.Ceiling(width * videoSize.Height / (double)videoSize.Width);