Made selection of last created element remain when switching to select tool
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1706 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1787,7 +1787,9 @@
|
||||
$('.tool_button_current').removeClass('tool_button_current').addClass('tool_button');
|
||||
$(button).addClass('tool_button_current').removeClass('tool_button');
|
||||
// when a tool is selected, we should deselect any currently selected elements
|
||||
svgCanvas.clearSelection();
|
||||
if(button !== '#tool_select') {
|
||||
svgCanvas.clearSelection();
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user