исправлена отрисовка

This commit is contained in:
DavidMakarov 2023-09-24 18:31:29 +04:00
parent f52bed00f4
commit ff6f059599

View File

@ -32,7 +32,7 @@ namespace Plane
public void SetPosition(int x, int y) public void SetPosition(int x, int y)
{ {
if (x + planeWidth < pictWidth && y +planeHeight < planeHeight) if (x + planeWidth < pictWidth && y + planeHeight < pictHeight)
{ {
startPosX = x; startPosX = x;
startPosY = y; startPosY = y;