From f3bce20321caad07ec3263b901cdb8d1938ea067 Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Thu, 11 Jun 2009 15:18:46 +0000 Subject: [PATCH] Add rect radius contextual tool. Fix bug where text elements were 50% opacity by default git-svn-id: http://svg-edit.googlecode.com/svn/trunk@97 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.css | 8 ++++++ editor/svg-editor.html | 19 +++++++++++++ editor/svg-editor.js | 62 ++++++++++++++++++++++-------------------- editor/svgcanvas.js | 23 ++++++++++------ 4 files changed, 73 insertions(+), 39 deletions(-) diff --git a/editor/svg-editor.css b/editor/svg-editor.css index ad910fde..9298afba 100644 --- a/editor/svg-editor.css +++ b/editor/svg-editor.css @@ -94,6 +94,10 @@ display: none; } +#svg_editor #rect_panel { + display: none; +} + #svg_editor #text_panel { display: none; } @@ -102,6 +106,10 @@ vertical-align:12px; } +#svg_editor #rect_panel .rect_tool { + vertical-align:12px; +} + #svg_editor .tool_button, #svg_editor .tool_button_current { height: 24px; width: 24px; diff --git a/editor/svg-editor.html b/editor/svg-editor.html index b77d6776..8044cd37 100644 --- a/editor/svg-editor.html +++ b/editor/svg-editor.html @@ -40,6 +40,25 @@ + +
+ + + +
+ + +