visual fix

This commit is contained in:
NikGapon 2022-10-26 21:47:24 +04:00
parent e42016dec6
commit 8f9f2d0fa4

View File

@ -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);
}
}