Fixed Issue 232: undo after fit to content (Document properties)

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@876 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-10-23 18:03:48 +00:00
parent 80696e17eb
commit 0fa6da2afc
2 changed files with 8 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ function svg_edit_setup() {
// upon creation of a text element the editor is switched into
// select mode and this event fires - we need our UI to be in sync
is_node = selectedElement.id && selectedElement.id.indexOf('pathpointgrip') == 0;
is_node = !!(selectedElement.id && selectedElement.id.indexOf('pathpointgrip') == 0);
if (svgCanvas.getMode() != "multiselect" && !is_node) {
setSelectMode();