From b9657217826303c0da9389feca75fc3d4498acb4 Mon Sep 17 00:00:00 2001 From: NikGapon <45200250+NikGapon@users.noreply.github.com> Date: Sat, 22 Oct 2022 18:20:52 +0400 Subject: [PATCH] final final fix --- Airbus/Airbus/DrawingAirbus.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Airbus/Airbus/DrawingAirbus.cs b/Airbus/Airbus/DrawingAirbus.cs index 0c636ca..12fd286 100644 --- a/Airbus/Airbus/DrawingAirbus.cs +++ b/Airbus/Airbus/DrawingAirbus.cs @@ -55,7 +55,7 @@ namespace Airbus if (_startPosX + _airbusWidth + airbus.Step - 6 < _pictureWidth) _startPosX += airbus.Step; break; case Direction.Down: //Вниз - if (_startPosY + _airbusHeight + airbus.Step < _pictureHeight) _startPosY += airbus.Step; + if (_startPosY + _airbusHeight + airbus.Step + 25 < _pictureHeight) _startPosY += airbus.Step; break; } }