Don't update x in updateY and don't update y in updateX as they are not defined.
parent
83ac4cd061
commit
0c82e82ae2
|
@ -413,7 +413,6 @@ function updateX( index )
|
|||
zone['Points'][index].x = x;
|
||||
var Point = $('zonePoly').points.getItem(index);
|
||||
Point.x = x;
|
||||
Point.y = y;
|
||||
}
|
||||
|
||||
function updateY( index )
|
||||
|
@ -426,7 +425,6 @@ function updateY( index )
|
|||
point.setStyle( 'top', y+'px' );
|
||||
zone['Points'][index].y = y;
|
||||
var Point = $('zonePoly').points.getItem(index);
|
||||
Point.x = x;
|
||||
Point.y = y;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue