The panorama viewer inverted horizontal drag relative to vertical: the yaw sign was opposite, so dragging right turned the view right instead of moving the scene right. Flip yaw to match the pitch convention (drag the world) and lock the behavior with a ui-workspace scenario.
777 B
777 B
Tasks
1. Fix horizontal drag direction
- 1.1 In
frontend/src/lib/components/PanoViewer.svelteonPointerMove, changeyaw -= dx * ktoyaw += dx * kso dragging right moves the scene right, consistent with the vertical drag; verify by opening apano360photo and dragging right — the scene moves right while vertical behavior is unchanged. - 1.2 Confirm the change does not alter
pitchhandling or the wheel/reset behavior; verify withnpm run check.
2. Integration verification
- 2.1 Run
npm run checkandnpm run build(frontend); verify both pass with no regressions.
Workflow follow-up
- Run
/opsx-applyto implement this change. - Archive the change after review and verification (sync the delta spec into
ui-workspace).