Merge pull request #2821 from mghiasi75/master

Fixed an issue with touch screens not being able to select region/draw/select drawing correctly
This commit is contained in:
Jaex 2017-10-05 22:04:54 +03:00 committed by GitHub
commit 136ef977b1

View file

@ -643,6 +643,8 @@ private void StartRegionSelection()
return;
}
InputManager.Update(); //If it's a touch event we don't have the correct point yet, so refresh it now.
BaseShape shape = GetIntersectShape();
if (shape != null && shape.ShapeType == CurrentShapeType) // Select shape