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
# PR_26133_101 Object Vector Zoom And Layout Fixes
2
+
3
+
## Scope
4
+
- Read docs/dev/PROJECT_INSTRUCTIONS.md before changes.
5
+
- Preserved the Workspace manifest/schema contract; no schema or workspace manifest structures were changed.
6
+
- Used the integrated PR_26133_100 code state as the prior reference. The PR_100 delta ZIP was requested but was not present under tmp/ at PR_101 start.
7
+
- Limited implementation to Object Vector Studio V2 zoom, Tools/fullscreen layout, object-scale anchoring, and matching workspace-v2 coverage.
8
+
9
+
## Changes
10
+
- Raised Object Preview MAX_ZOOM from 0.5 to 1.0.
11
+
- Made the Tools accordion compact so its container ends under the Snap/Grid/Words button row instead of stretching.
12
+
- Restored fullscreen right-column vertical scrolling while keeping the column inside the viewport.
13
+
- Fixed Object Transform scale so each new scale value is applied as a relative ratio from the last object-scale preview value. This prevents child shapes such as flame/inner line strokes from drifting away from hull anchor lines during repeated object scale/zoom adjustments.
14
+
- Kept PR_100 object/shape rotation, center marker, and multi-selected shape order behavior intact.
15
+
16
+
## Playwright Impact
17
+
- Playwright impacted: Yes.
18
+
- Validates Object Vector V2 max zoom clamping/display, compact Tools layout, fullscreen right-column scroll behavior, and non-compounding object-scale origin offsets.
19
+
- Expected pass behavior: zoom clamps to 1.0, Tools content reaches accordion bottom, fullscreen right panel scrolls within the viewport, and repeated object scale changes preserve child shape origin offsets at the requested scale.
20
+
- Expected fail behavior: stale max zoom assertions, stretched Tools accordions, non-scrollable fullscreen right column, or compounded object-scale origin drift fail the workspace-v2 tests.
- PASS: npx playwright test tests/playwright/tools/WorkspaceManagerV2.spec.mjs --project=playwright --workers=1 --reporter=list -g "shows Object Vector Studio V2 layout shell|expands Object Vector Studio V2 asset authoring controls"
27
+
- PASS: npm run test:workspace-v2 (56 passed)
28
+
29
+
## Manual Validation
30
+
1. Open Object Vector Studio V2, select an object with multiple child shapes such as the Asteroids ship, and use Object Transform scale/zoom controls repeatedly.
31
+
- Expected: inner/flame line shapes stay anchored to the hull lines instead of drifting upward.
32
+
2. Use Object Preview zoom controls up to the maximum.
33
+
- Expected: internal zoom reaches 1.0 and the UI remains responsive.
34
+
3. Open fullscreen mode and scroll the right column.
35
+
- Expected: the right column remains inside the viewport and scrolls vertically.
36
+
4. Inspect Tools accordion height.
37
+
- Expected: its bottom sits under the last row of Snap/Grid/Words buttons.
38
+
39
+
## Out Of Scope
40
+
- Full samples smoke test was skipped per PR_26133_101 instructions.
41
+
- No workspace schema cleanup, manifest restructuring, or sample JSON updates were performed.
},okMessage||`OK Object scale preview set to ${this.formatScaleInputValue(scale)} for ${object?.name||"selected object"}.`,"Object Transform scale failed schema validation");
0 commit comments