Files
ds-galo/openspec/changes/fix-pano-drag-direction/tasks.md
T
iu 6528abad82 fix(ui): correct horizontal drag direction in 360 panorama viewer
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.
2026-10-11 21:02:01 +03:00

777 B

Tasks

1. Fix horizontal drag direction

  • 1.1 In frontend/src/lib/components/PanoViewer.svelte onPointerMove, change yaw -= dx * k to yaw += dx * k so dragging right moves the scene right, consistent with the vertical drag; verify by opening a pano360 photo and dragging right — the scene moves right while vertical behavior is unchanged.
  • 1.2 Confirm the change does not alter pitch handling or the wheel/reset behavior; verify with npm run check.

2. Integration verification

  • 2.1 Run npm run check and npm run build (frontend); verify both pass with no regressions.

Workflow follow-up

  • Run /opsx-apply to implement this change.
  • Archive the change after review and verification (sync the delta spec into ui-workspace).