Исправление графического бага

This commit is contained in:
Danil Malin 2022-10-11 12:19:17 +04:00
parent 33701833e9
commit e672312abc

View File

@ -192,9 +192,10 @@ namespace WarmlyLocomotive
T locomotive = _setLocomotives.Get(i); T locomotive = _setLocomotives.Get(i);
locomotive.SetObject(xForLocomotive, yForLocomotive, _pictureWidth, _pictureHeight); locomotive.SetObject(xForLocomotive, yForLocomotive, _pictureWidth, _pictureHeight);
locomotive.DrawningObject(g); locomotive.DrawningObject(g);
xForLocomotive += _placeSizeWidth + 30;
countInRow++;
} }
xForLocomotive += _placeSizeWidth + 30;
countInRow++;
} }
} }
} }