From 8f9f2d0fa4e4d8e9957c8808e460d99bd9d36c8c Mon Sep 17 00:00:00 2001 From: NikGapon <45200250+NikGapon@users.noreply.github.com> Date: Wed, 26 Oct 2022 21:47:24 +0400 Subject: [PATCH] visual fix --- Airbus/Airbus/DrawningPorthole.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Airbus/Airbus/DrawningPorthole.cs b/Airbus/Airbus/DrawningPorthole.cs index ad1e432..30b5273 100644 --- a/Airbus/Airbus/DrawningPorthole.cs +++ b/Airbus/Airbus/DrawningPorthole.cs @@ -21,9 +21,10 @@ namespace Airbus public void DrawPorthole(Graphics g, Color color, float posX, float posY) { - for (int i = 0; i < (int)CountPorthole; i++) + for (int i = 0; i < (int)CountPorthole / 2; i++) { - g.DrawEllipse(new(color, 2), posX + 150 - i * 7, posY + 30, 5, 5); + g.DrawEllipse(new(color, 2), posX + 125 - i * 7, posY + 30, 5, 5); + g.DrawEllipse(new(color, 2), posX + 125 - i * 7, posY + 40, 5, 5); } }