Лабораторная работа №1
This commit is contained in:
parent
2b073c8fbc
commit
620c166dcc
@ -73,8 +73,6 @@ public class DrawningAirbus
|
||||
_pictureHeight = height;
|
||||
if (_startPosX != null && _startPosY != null)
|
||||
{
|
||||
if (_startPosX.Value < 0) _startPosX = 0;
|
||||
if (_startPosY.Value < 0) _startPosY = 0;
|
||||
if (_startPosX.Value + _drawningAirbusWidth > _pictureWidth)
|
||||
{
|
||||
_startPosX = _pictureWidth - _drawningAirbusWidth;
|
||||
|
Loading…
x
Reference in New Issue
Block a user