Fixed
This commit is contained in:
parent
4c46170f09
commit
e9ec3ff774
@ -81,9 +81,9 @@ namespace AntiAircraftGun.DrawingObjects
|
|||||||
//вверх
|
//вверх
|
||||||
DirectionType.Up => _startPosY - AntiAirСraftGun.Step > 0,
|
DirectionType.Up => _startPosY - AntiAirСraftGun.Step > 0,
|
||||||
// вправо
|
// вправо
|
||||||
DirectionType.Right =>_startPosX + AntiAirСraftGun.Step < _pictureWidth - 110,
|
DirectionType.Right =>_startPosX + AntiAirСraftGun.Step + _zenitWidth < _pictureWidth,
|
||||||
//вниз
|
//вниз
|
||||||
DirectionType.Down => _startPosY + AntiAirСraftGun.Step < _pictureHeight - 60,
|
DirectionType.Down => _startPosY + AntiAirСraftGun.Step + _zenitHeight< _pictureHeight,
|
||||||
_ => false,
|
_ => false,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -145,5 +145,5 @@ namespace AntiAircraftGun
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user