Made create->rotate result in switch to select mode

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1705 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-09-09 17:52:36 +00:00
parent 73fd86ecd9
commit 9ed94bfc28
2 changed files with 2 additions and 2 deletions

View File

@ -644,8 +644,7 @@
// called when any element has changed // called when any element has changed
var elementChanged = function(window,elems) { var elementChanged = function(window,elems) {
if(svgCanvas.getMode() == "select") {
if(svgCanvas.getMode() == "select" && $('.tool_button_current')) {
setSelectMode(); setSelectMode();
} }

View File

@ -5211,6 +5211,7 @@ var getMouseTarget = this.getMouseTarget = function(evt) {
} }
// perform recalculation to weed out any stray identity transforms that might get stuck // perform recalculation to weed out any stray identity transforms that might get stuck
recalculateAllSelectedDimensions(); recalculateAllSelectedDimensions();
call("changed", selectedElements);
break; break;
default: default:
// This could occur in an extension // This could occur in an extension