Added fix for Issue 349 (and 352) to trunk
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1005 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
df642b1500
commit
9279ba0a1d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue