From 68e022a2bd4c20489b04dc5bb524802e3d434b87 Mon Sep 17 00:00:00 2001 From: BigEd Date: Sat, 30 Oct 2010 20:31:32 +0000 Subject: [PATCH] [bug]tidy up pan+zoom URLs --- expertWires.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expertWires.js b/expertWires.js index 8fc196f..f439afd 100644 --- a/expertWires.js +++ b/expertWires.js @@ -346,7 +346,7 @@ function setupChipLayoutGraphics(){ // utility function to save graphics pan and zoom function whereAmIAsQuery(){ var w=whereAmI(); - return "panx="+w[0]+"&pany="+w[1]+"&zoom="+w[2] + return "panx="+w[0].toFixed(1)+"&pany="+w[1].toFixed(1)+"&zoom="+w[2].toFixed(1); } function whereAmI(){ return [centerx, centery, zoom];