зафиксировать
This commit is contained in:
parent
9f19a61ae6
commit
fe747801b0
@ -76,11 +76,11 @@ namespace ProjectBoat_bae.DrawningObjects
|
||||
{
|
||||
if (x < 0 || x + _boatWidth > _pictureWidth)
|
||||
{
|
||||
x = Math.Max(0, _pictureWidth - _boatWidth + 90);
|
||||
x = Math.Max(0, _pictureWidth - _boatWidth);
|
||||
}
|
||||
if (y < 0 || y + _boatHeight > _pictureHeight)
|
||||
{
|
||||
y = Math.Max(0, _pictureHeight - _boatHeight+ 90);
|
||||
y = Math.Max(0, _pictureHeight - _boatHeight);
|
||||
}
|
||||
_startPosX = x;
|
||||
_startPosY = y;
|
||||
|
Loading…
x
Reference in New Issue
Block a user