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:
Alexis Deveria
2010-09-09 20:10:34 +00:00
parent 9ed94bfc28
commit a6a2e7c469
2 changed files with 3 additions and 2 deletions

View File

@@ -9271,7 +9271,6 @@ this.getMode = function() {
this.setMode = function(name) {
pathActions.clear(true);
textActions.clear();
cur_properties = (selectedElements[0] && selectedElements[0].nodeName == 'text') ? cur_text : cur_shape;
current_mode = name;
};