fixtransforms branch: Fix bug in changeSelectedAttributeNoUndo() that made Opera and WebKit hiccup
git-svn-id: http://svg-edit.googlecode.com/svn/branches/fixtransforms@1062 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
0dc0ec0d41
commit
3d3711e499
|
@ -5595,7 +5595,7 @@ function BatchCommand(text) {
|
||||||
var xform = tlist.getItem(n);
|
var xform = tlist.getItem(n);
|
||||||
if (xform.type == 4) {
|
if (xform.type == 4) {
|
||||||
// remove old rotate
|
// remove old rotate
|
||||||
tlist.removeItem(xform);
|
tlist.removeItem(n);
|
||||||
|
|
||||||
var box = canvas.getBBox(elem);
|
var box = canvas.getBBox(elem);
|
||||||
var center = transformPoint(box.x+box.width/2, box.y+box.height/2, transformListToTransform(tlist).matrix);
|
var center = transformPoint(box.x+box.width/2, box.y+box.height/2, transformListToTransform(tlist).matrix);
|
||||||
|
|
Loading…
Reference in New Issue