Made small improvements to small icon mode, added fixed ratio resize option for resize+shift
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@942 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -2563,7 +2563,13 @@ function BatchCommand(text) {
|
||||
scale = svgroot.createSVGTransform(),
|
||||
translateBack = svgroot.createSVGTransform();
|
||||
translateOrigin.setTranslate(-(left+tx),-(top+ty));
|
||||
if(evt.shiftKey) {
|
||||
if(sx == 1) sx = sy
|
||||
else sy = sx;
|
||||
}
|
||||
scale.setScale(sx,sy);
|
||||
|
||||
|
||||
translateBack.setTranslate(left+tx,top+ty);
|
||||
var N = tlist.numberOfItems;
|
||||
tlist.replaceItem(translateBack, N-3);
|
||||
|
||||
Reference in New Issue
Block a user