[bug]tidy up pan+zoom URLs

This commit is contained in:
BigEd 2010-10-30 20:31:32 +00:00
parent bc8ef61fb9
commit 68e022a2bd
1 changed files with 1 additions and 1 deletions

View File

@ -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];