Added fix for Issue 349 (and 352) to trunk

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1005 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2009-12-09 19:06:28 +00:00
parent df642b1500
commit 9279ba0a1d
1 changed files with 1 additions and 2 deletions

View File

@ -5423,7 +5423,7 @@ function BatchCommand(text) {
if (oldval == null) oldval = "";
if (oldval !== newValue) {
if (attr == "#text") {
var old_w = elem.getBBox().width;
var old_w = canvas.getBBox(elem).width;
elem.textContent = newValue;
elem = canvas.quickClone(elem);
@ -6095,7 +6095,6 @@ function BatchCommand(text) {
this.setUiStrings = function(strs){
$.extend(uiStrings, strs);
console.log(uiStrings)
}
this.clear();