From 59ffff15f0e73edf6237ebeff8626ebb2f888404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B8=D0=BC=D0=B0?= Date: Fri, 30 Aug 2024 02:53:02 +0400 Subject: [PATCH] d --- .../CollectionGenericObjects/LocomotiveDockingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs index 7b0011c..cb6b22a 100644 --- a/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs +++ b/ProjectLocomotive/ProjectLocomotive/CollectionGenericObjects/LocomotiveDockingService.cs @@ -47,7 +47,7 @@ namespace ProjectLocomotive.CollectionGenericObjects _collection.Get(i).SetPosition(_placeSizeWidth * curWidth + 10, curHeight * _placeSizeHeight + 10); } - if (curWidth > width - 2) + if (curWidth > width - 3) curWidth--; else {