This commit is contained in:
Efi 2023-03-31 23:56:22 +04:00
commit 7cb730e265

View File

@ -130,7 +130,7 @@ where T : class, IDrawingObject
_setLocomotive.Get(i)?.DrawingObject(g);
xPosition -= _placeSizeWidth;
if (xPosition < _placeSizeWidth)
if (xPosition < 0)
{
yPosition += _placeSizeHeight;
xPosition = _pictureWidth - _placeSizeWidth;