From ee2a3aedc498516669135173b98ab169c454bf5f Mon Sep 17 00:00:00 2001 From: Sour Date: Thu, 28 Jun 2018 17:34:19 -0400 Subject: [PATCH] UI: Fixed disable window resize option behavior after exiting fullscreen mode --- GUI.NET/Forms/frmMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GUI.NET/Forms/frmMain.cs b/GUI.NET/Forms/frmMain.cs index 5ca793a5..8efff67b 100644 --- a/GUI.NET/Forms/frmMain.cs +++ b/GUI.NET/Forms/frmMain.cs @@ -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); }