From 1e6be6b12c392684a2b48f0f3737af84b8a72ad5 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Jun 2017 12:17:11 -0400 Subject: don't draw ai ball --- ShiftOS.WinForms/Applications/Pong.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Applications/Pong.cs') diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs index 5b60fbd..b615cf0 100644 --- a/ShiftOS.WinForms/Applications/Pong.cs +++ b/ShiftOS.WinForms/Applications/Pong.cs @@ -304,7 +304,7 @@ namespace ShiftOS.WinForms.Applications doAi = true; } - private bool drawAiBall = true; + private bool drawAiBall = false; private void pnlcanvas_Paint(object sender, PaintEventArgs e) { -- cgit v1.2.3 From bb38dad59be6583e4c0a2fe851f264ed8d1fec2e Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 22 Jun 2017 13:17:38 -0400 Subject: Cosmetic bugfix for Pong. --- ShiftOS.WinForms/Applications/Pong.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'ShiftOS.WinForms/Applications/Pong.cs') diff --git a/ShiftOS.WinForms/Applications/Pong.cs b/ShiftOS.WinForms/Applications/Pong.cs index b615cf0..2f309f3 100644 --- a/ShiftOS.WinForms/Applications/Pong.cs +++ b/ShiftOS.WinForms/Applications/Pong.cs @@ -402,6 +402,7 @@ namespace ShiftOS.WinForms.Applications public void OnLoad() { + pnlgamestart.CenterParent(); doAi = false; doBallCalc = false; pnlgamestart.Show(); -- cgit v1.2.3