Update some TODOs, comment out some no-longer needed code
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@973 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -1,10 +1,9 @@
|
|||||||
/*
|
/*
|
||||||
TODOs for TransformList:
|
TODOs for TransformList:
|
||||||
|
|
||||||
* Ensure rotation works properly (extract the correct rotational center now?)
|
* Fix Opera's centering of rotated, resized groups
|
||||||
* when groups are resized, center is not found properly (dx/dy are not calculated correctly)
|
* Fix resizing of rotated already-resized groups (scales incorrect with mouse)
|
||||||
* clean up setRotationAngle()
|
* Ensure groups with rotated children have properly located and sized selector box
|
||||||
* Ensure resized/rotated groups show the proper located and sized selector box
|
|
||||||
* Ensure ungrouping works (Issue 204)
|
* Ensure ungrouping works (Issue 204)
|
||||||
*/
|
*/
|
||||||
/*
|
/*
|
||||||
@@ -2558,7 +2557,7 @@ function BatchCommand(text) {
|
|||||||
translateOrigin.setTranslate(-(left+tx),-(top+ty));
|
translateOrigin.setTranslate(-(left+tx),-(top+ty));
|
||||||
if(evt.shiftKey) {
|
if(evt.shiftKey) {
|
||||||
if(sx == 1) sx = sy
|
if(sx == 1) sx = sy
|
||||||
else sy = sx;
|
else sy = sx;
|
||||||
}
|
}
|
||||||
scale.setScale(sx,sy);
|
scale.setScale(sx,sy);
|
||||||
|
|
||||||
@@ -2583,6 +2582,8 @@ function BatchCommand(text) {
|
|||||||
selectedBBox.y += dy;
|
selectedBBox.y += dy;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// I believe the following commented-out code is no longer required - schiller
|
||||||
|
/*
|
||||||
// update box width/height
|
// update box width/height
|
||||||
selectedBBox.width = round(width*sx);
|
selectedBBox.width = round(width*sx);
|
||||||
selectedBBox.height = round(height*sy);
|
selectedBBox.height = round(height*sy);
|
||||||
@@ -2608,8 +2609,9 @@ function BatchCommand(text) {
|
|||||||
selectedBBox.y -= selectedBBox.height;
|
selectedBBox.y -= selectedBBox.height;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
selectorManager.requestSelector(selected).resize();//selectedBBox); // TODO: remove box arg
|
selectorManager.requestSelector(selected).resize();
|
||||||
break;
|
break;
|
||||||
case "zoom":
|
case "zoom":
|
||||||
x *= current_zoom;
|
x *= current_zoom;
|
||||||
|
|||||||
Reference in New Issue
Block a user