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
master
Jeff Schiller 2009-11-24 06:54:43 +00:00
parent 7b6a304520
commit 27064ff8da
1 changed files with 10 additions and 8 deletions

View File

@ -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)
*/ */
/* /*
@ -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;