From e5a32fc0035b8ea4e5b71b2a225d43351dd422ba Mon Sep 17 00:00:00 2001 From: Rafael Couto Date: Thu, 17 Jan 2013 11:05:06 +0000 Subject: [PATCH] prettify the resulting zoom decimal git-svn-id: http://svg-edit.googlecode.com/svn/trunk@2311 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index d9ea7571..21c6a4ad 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -804,8 +804,7 @@ return; } -// $('#zoom').val(Math.round(zoomlevel*100)); - $('#zoom').val(zoomlevel*100); + $('#zoom').val((zoomlevel*100).toFixed(1)); if(autoCenter) { updateCanvas();