More refactoring for selection, still only single selection

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@241 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2009-07-01 15:34:15 +00:00
parent 0389e6bd86
commit 8785b3674f
3 changed files with 147 additions and 33 deletions

View File

@@ -238,8 +238,8 @@ function svg_edit_setup() {
$('#styleoverrides').text('');
$('.tool_button_current').removeClass('tool_button_current').addClass('tool_button');
$(button).addClass('tool_button_current');
// when a tool is selected, we should deselect the currently selected element
svgCanvas.selectNone();
// when a tool is selected, we should deselect any currently selected elements
svgCanvas.clearSelection();
return true;
};