diff --git a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs index ede68a8..af5ec19 100644 --- a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs +++ b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs @@ -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 {