diff --git a/src/BizHawk.Client.EmuHawk/config/GB/BmpView.cs b/src/BizHawk.Client.EmuHawk/config/GB/BmpView.cs index 61e1f237b4..88f1e17486 100644 --- a/src/BizHawk.Client.EmuHawk/config/GB/BmpView.cs +++ b/src/BizHawk.Client.EmuHawk/config/GB/BmpView.cs @@ -1,6 +1,5 @@ using System; using System.ComponentModel; -using System.Diagnostics; using System.Drawing.Imaging; using System.IO; using System.Drawing; @@ -21,7 +20,7 @@ namespace BizHawk.Client.EmuHawk public BmpView() { - if (Process.GetCurrentProcess().ProcessName == "devenv") + if (DesignMode) { // in the designer SetStyle(ControlStyles.SupportsTransparentBackColor, true);