Fix repainting issues
This commit is contained in:
parent
3ba7239a2b
commit
f9aa5fbc72
|
@ -3051,7 +3051,6 @@
|
|||
this.Deactivate += new System.EventHandler(this.MainForm_Deactivate);
|
||||
this.Load += new System.EventHandler(this.MainForm_Load);
|
||||
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
||||
this.Paint += new System.Windows.Forms.PaintEventHandler(this.MainForm_Paint);
|
||||
this.Enter += new System.EventHandler(this.MainForm_Enter);
|
||||
this.MouseClick += new System.Windows.Forms.MouseEventHandler(this.MainForm_MouseClick);
|
||||
this.Resize += new System.EventHandler(this.MainForm_Resize);
|
||||
|
|
|
@ -428,6 +428,11 @@ namespace BizHawk.MultiClient
|
|||
}
|
||||
|
||||
UpdateStatusSlots();
|
||||
|
||||
renderTarget.Paint += new System.Windows.Forms.PaintEventHandler(delegate
|
||||
{
|
||||
Global.DisplayManager.NeedsToPaint = true;
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -4270,11 +4275,6 @@ namespace BizHawk.MultiClient
|
|||
Global.DisplayManager.NeedsToPaint = true;
|
||||
}
|
||||
|
||||
private void MainForm_Paint(object sender, PaintEventArgs e)
|
||||
{
|
||||
Global.DisplayManager.NeedsToPaint = true;
|
||||
}
|
||||
|
||||
public void LoadRamWatch(bool load_dialog)
|
||||
{
|
||||
if (!RamWatch1.IsHandleCreated || RamWatch1.IsDisposed)
|
||||
|
|
Loading…
Reference in New Issue