Исправление косяка

This commit is contained in:
Marselchi 2023-11-24 12:42:10 +04:00
parent d8f53d52d1
commit 542fe732ec

View File

@ -122,22 +122,6 @@ namespace Liner.Generics
/// <param name="g"></param>
private void DrawObjects(Graphics g)
{
/*int iX = ((_pictureWidth / _placeSizeWidth) - 1) * _placeSizeWidth;
int iY = 0;
for (int i = 0; i < _collection.Count; i++)
{
_collection.Get(i)?.SetPosition(iX,iY);
_collection.Get(i)?.DrawTransport(g);
if(_collection.Get(i) != null)
{
iY += _placeSizeHeight;
if(iY + _placeSizeHeight >= _pictureHeight)
{
iY = 0;
iX -= _placeSizeWidth;
}
}
}*/
int iX = ((_pictureWidth / _placeSizeWidth) - 1) * _placeSizeWidth;
int iY = 0;
for (int i = 0; i < _collection.Count; i++)