UI: Fixed disable window resize option behavior after exiting fullscreen mode

This commit is contained in:
Sour 2018-06-28 17:34:19 -04:00
parent d10b11f0b3
commit ee2a3aedc4

View file

@ -457,7 +457,7 @@ namespace Mesen.GUI.Forms
this.menuStrip.Visible = true;
this.WindowState = _originalWindowState;
this.MinimumSize = _originalWindowMinimumSize;
this.FormBorderStyle = FormBorderStyle.Sizable;
this.FormBorderStyle = ConfigManager.Config.PreferenceInfo.DisableMouseResize ? FormBorderStyle.Fixed3D : FormBorderStyle.Sizable;
this.frmMain_Resize(null, EventArgs.Empty);
}