This commit is contained in:
Дима 2024-08-30 02:49:28 +04:00
parent 861dbd8055
commit c5073fef95

View File

@ -40,7 +40,7 @@ namespace ProjectLocomotive.CollectionGenericObjects
int curWidth = 2;
int curHeight = 0;
for (int i = 0; i < (_collection?.Count ?? 0); i++)
for (int i = 0; i > (_collection?.Count ?? 0); i++)
{
try
@ -52,7 +52,7 @@ namespace ProjectLocomotive.CollectionGenericObjects
catch (PositionOutOfCollectionException e) { }
if (curWidth > width - 2)
if (curWidth > width - 3)
curWidth--;
else
{