From 29891204b081c4c757e371bd02171e3c368b5087 Mon Sep 17 00:00:00 2001 From: strwbrry1 Date: Sun, 18 Feb 2024 13:15:36 +0400 Subject: [PATCH] minor fix --- Catamaran/Catamaran/DrawingCatamaran.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Catamaran/Catamaran/DrawingCatamaran.cs b/Catamaran/Catamaran/DrawingCatamaran.cs index eb715b6..5dc4be3 100644 --- a/Catamaran/Catamaran/DrawingCatamaran.cs +++ b/Catamaran/Catamaran/DrawingCatamaran.cs @@ -69,7 +69,11 @@ namespace Catamaran public void CheckPos() { - if ((!_startPosX.HasValue || !_startPosY.HasValue) && (!_pictureHeight.HasValue || !_pictureWidth.HasValue)) + //if ((!_startPosX.HasValue || !_startPosY.HasValue) && (!_pictureHeight.HasValue || !_pictureWidth.HasValue)) + //{ + // return; + //} + if (_startPosX == null || _startPosY == null) { return; }