fixes focus issue
This commit is contained in:
@@ -252,8 +252,8 @@ void MV2DElementFloorObstacleWall::onNodeMove(MapView2D* v, const int userIdx, c
|
||||
Point2 p;
|
||||
float u = 0;
|
||||
bool isects = intersects(l2, l1, true, p, &u);
|
||||
if (u < 0.1) {u = 0.1;}
|
||||
if (u > 0.9) {u = 0.9;}
|
||||
if (u < 0.01) {u = 0.01;}
|
||||
if (u > 0.99) {u = 0.99;}
|
||||
|
||||
if (userIdx >= 1000 && userIdx < 2000) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user