From c8b1cfd3a2dcd1b0b7b7d8d4bda56c338513861b Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Wed, 23 Sep 2009 15:29:55 +0000 Subject: [PATCH] Added 'Fit to layer content' zoom option and optimized code for setBBoxZoom git-svn-id: http://svg-edit.googlecode.com/svn/trunk@696 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.css | 2 +- editor/svg-editor.html | 3 +- editor/svgcanvas.js | 68 +++++++++++++++++++----------------------- 3 files changed, 34 insertions(+), 39 deletions(-) diff --git a/editor/svg-editor.css b/editor/svg-editor.css index 9d9f5572..b72f7cf4 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -304,7 +304,7 @@ span.zoom_tool { #zoom_dropdown li { display: block; - width: 100px; + width: 120px; padding: 4px; background: #E8E8E8; border: 1px solid #B0B0B0; diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 7cd24c35..13647d3e 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -254,7 +254,8 @@