NES - Nametable viewer - big speed boost by not repainting the unseen background
This commit is contained in:
parent
fb3d1a1bd3
commit
57987c0a21
|
@ -23,6 +23,7 @@ namespace BizHawk.MultiClient
|
|||
SetStyle(ControlStyles.UserPaint, true);
|
||||
SetStyle(ControlStyles.DoubleBuffer, true);
|
||||
SetStyle(ControlStyles.SupportsTransparentBackColor, true);
|
||||
SetStyle(ControlStyles.Opaque, true);
|
||||
this.Size = new Size(256, 224);
|
||||
this.BackColor = Color.Transparent;
|
||||
this.Paint += new System.Windows.Forms.PaintEventHandler(this.NameTableViewer_Paint);
|
||||
|
|
Loading…
Reference in New Issue