From c249478eeddeef51c672e9876ce4fc7699889998 Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Mon, 4 Jan 2010 14:10:52 +0000 Subject: [PATCH] Fixed several minor bugs git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1140 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.css | 2 +- editor/svg-editor.html | 36 ++++++++++++++++++------------ editor/svgicons/jquery.svgicons.js | 4 ++-- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/editor/svg-editor.css b/editor/svg-editor.css index c6021728..842d8485 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -270,7 +270,7 @@ body { stroke: #000; stroke-width: 1px; stroke-opacity: 1.0; - stroke-dasharray: none; + stroke-dasharray: 0; opacity: 1; pointer-events: stroke; vector-effect: non-scaling-stroke; diff --git a/editor/svg-editor.html b/editor/svg-editor.html index 711b547d..364079f4 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -197,23 +197,31 @@ script type="text/javascript" src="locale/locale.min.js">
- - - - - - +
+ + + + +
+
+ + +
- - - - - - - - +
+ + + + +
+
+ + + + +
diff --git a/editor/svgicons/jquery.svgicons.js b/editor/svgicons/jquery.svgicons.js index 998a649c..536eba87 100644 --- a/editor/svgicons/jquery.svgicons.js +++ b/editor/svgicons/jquery.svgicons.js @@ -344,8 +344,8 @@ $(function() { var id = this.id; var no_dupes = ($(svgdoc).find('#' + id).length <= 1); if(isOpera) no_dupes = false; // Opera didn't clone svg_el, so not reliable - if(!force && no_dupes) return; - var new_id = id + svg_num + i; + // if(!force && no_dupes) return; + var new_id = 'x' + id + svg_num + i; $(this).attr('id', new_id); svg_el.find('[fill="url(#' + id + ')"]').each(function() {