Skip to content

Commit

Permalink
6.0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stax76 committed Jul 2, 2022
1 parent 03b7753 commit fb294c4
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@

# 6.0.2.0 (2022-07-02)

- Fix main window shown collapsed when the player was started with full screen.


# 6.0.1.0 (2022-06-30)

- New tutorial: [Extending mpv and mpv.net via Lua scripting](https://github.com/stax76/mpv.net/wiki/Extending-mpv-and-mpv.net-via-Lua-scripting)
Expand Down
4 changes: 2 additions & 2 deletions src/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("6.0.1.0")]
[assembly: AssemblyFileVersion("6.0.1.0")]
[assembly: AssemblyVersion("6.0.2.0")]
[assembly: AssemblyFileVersion("6.0.2.0")]
2 changes: 1 addition & 1 deletion src/WinForms/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/WinForms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,12 @@ public void CycleFullscreen(bool enabled)
if (WasMaximized)
WindowState = FormWindowState.Maximized;
else
{
WindowState = FormWindowState.Normal;

if (!Core.WasInitialSizeSet)
SetFormPosAndSize();
}

if (Core.Border)
FormBorderStyle = FormBorderStyle.Sizable;
Expand Down

0 comments on commit fb294c4

Please sign in to comment.