[bug]tidy up pan+zoom URLs
This commit is contained in:
parent
bc8ef61fb9
commit
68e022a2bd
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue