You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Object Vector Studio V2 Grid-off state now asserts that only the Grid icon uses the disabled red Snap color while button text stays default.
13
+
- Auto Center coverage verifies the selected shape pivot moves to the visible object geometry bounds center, geometry JSON is unchanged, rendered bounds do not move, and workspace dirty state is set.
14
+
- Existing Object Vector Studio V2 console/page error assertions remained clean in the covered flows.
14
15
15
-
- Snap None shape creation stores geometry coordinates with no more than 3 decimal places.
16
-
- Snap Angle enabled at 45 degrees constrains committed Line creation segments.
17
-
- Snap Angle enabled at 45 degrees constrains committed Polyline creation segments from the prior point.
18
-
- Snap Angle enabled at 45 degrees constrains committed Polygon creation segments from the prior point.
19
-
- Snap Grid and Snap Point creation checks remain green.
20
-
- Palette primary row order is Paint, Picker, Stroke, Width, with Picker kept icon-only.
21
-
22
-
## Console/Runtime Errors
23
-
24
-
- PASS: Object Vector Studio V2 Playwright coverage collected no page errors or console errors in the exercised flows.
16
+
Manual/targeted verification notes:
17
+
- Grid off icon color matches disabled Snap Angle icon color.
18
+
- Auto Center uses visible object bounds, supports asymmetric geometry center balancing, and logs an OK status after successful pivot update.
19
+
- Auto Center changes transform origin/pivot only; geometry points are not modified and visible bounds remain stable.
},`OK Auto Center balanced shape row ${this.selectedShapeIndex} origin/pivot to visible object center ${center.x}, ${center.y}.`);
6564
+
}
6565
+
6506
6566
groupSelectedShapes(){
6507
6567
constobject=this.selectedObject();
6508
6568
if(!object||this.selectedShapeIndexes.size<2){
@@ -7752,6 +7812,7 @@ export class ToolStarterApp {
7752
7812
this.setControlDisabled(this.elements.previewRedoButton,!this.previewRedoStack.length,"Disabled until an Object Preview edit can be redone.","Redo the last undone Object Preview edit.");
7753
7813
this.setControlDisabled(this.elements.previewCopyButton,!shape,noShapeReason,"Copy the selected shape.");
7754
7814
this.setControlDisabled(this.elements.previewPasteButton,!object||!this.previewClipboardShape||isLocked,!object ? noObjectReason : (isLocked ? lockedReason : "Disabled until a shape has been copied."),"Paste the copied shape into the selected object.");
7815
+
this.setControlDisabled(this.elements.autoCenterButton,!object||!shape||isLocked,!object ? noObjectReason : (isLocked ? lockedReason : noShapeReason),"Balance selected shape origin/pivot to the visible object center.");
0 commit comments