Fix Issue 205: scale the 'fuzz' factor for polygon point picking in case of zoom
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@651 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -2228,7 +2228,7 @@ function BatchCommand(text) {
|
||||
else {
|
||||
// determine if we clicked on an existing point
|
||||
var i = current_poly_pts.length;
|
||||
var FUZZ = 6;
|
||||
var FUZZ = 6/current_zoom;
|
||||
var clickOnPoint = false;
|
||||
while(i) {
|
||||
i -= 2;
|
||||
|
||||
Reference in New Issue
Block a user