Fix shop nodes all spawning overlapped at center #89

Merged
cammymoop merged 1 commit from feature/fix-shop-node-overlap into master 2026-03-06 15:34:07 -06:00
Collaborator

Summary

  • snap_to() overwrites target_pos, so animate_to(node.target_pos) was animating to the snap point instead of the calculated layout position
  • Fix: save target_pos into dest before calling snap_to, then pass dest to animate_to

Test plan

  • Open shop: category nodes animate outward from center instead of staying overlapped
## Summary - `snap_to()` overwrites `target_pos`, so `animate_to(node.target_pos)` was animating to the snap point instead of the calculated layout position - Fix: save `target_pos` into `dest` before calling `snap_to`, then pass `dest` to `animate_to` ## Test plan - [ ] Open shop: category nodes animate outward from center instead of staying overlapped
snap_to() overwrites target_pos, so animate_to(node.target_pos) was
animating to the snap point instead of the calculated layout position.
Save target_pos before snap_to and pass it explicitly to animate_to.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
cammymoop merged commit 36a76377e0 into master 2026-03-06 15:34:07 -06:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cammymoop/semi-vibed-game!89
No description provided.