редактирование установки объекта в базу
This commit is contained in:
parent
29a246d8f3
commit
3de0a2be47
@ -12,12 +12,12 @@ public abstract class AbstractCompany
|
||||
/// <summary>
|
||||
/// Размер места (ширина)
|
||||
/// </summary>
|
||||
protected readonly int _placeSizeWidth = 210;
|
||||
protected readonly int _placeSizeWidth = 180;
|
||||
|
||||
/// <summary>
|
||||
/// Размер места (высота)
|
||||
/// </summary>
|
||||
protected readonly int _placeSizeHeight = 80;
|
||||
protected readonly int _placeSizeHeight = 100;
|
||||
|
||||
/// <summary>
|
||||
/// Ширина окна
|
||||
|
@ -50,8 +50,8 @@ public class CarBase : AbstractCompany
|
||||
}
|
||||
if (_collection?.Get(i) != null)
|
||||
{
|
||||
_collection?.Get(i)?.SetPictureSize(_pictureWidth, _pictureHeight);
|
||||
_collection?.Get(i)?.SetPosition(_placeSizeWidth * nowWidth + 30, nowHeight * _placeSizeHeight * 2 + 20);
|
||||
_collection?.Get(i)?.SetPictureSize(_pictureWidth , _pictureHeight);
|
||||
_collection?.Get(i)?.SetPosition(_placeSizeWidth * nowWidth + 10, nowHeight * _placeSizeHeight * 2 );
|
||||
}
|
||||
|
||||
if (nowWidth < _pictureWidth / _placeSizeWidth - 1) nowWidth++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user