Skip to content

Refine scene node drag API#715

Merged
brentyi merged 4 commits into
mainfrom
brent/20260511_drag_edge_case_fixes
May 16, 2026
Merged

Refine scene node drag API#715
brentyi merged 4 commits into
mainfrom
brent/20260511_drag_edge_case_fixes

Conversation

@brentyi
Copy link
Copy Markdown
Collaborator

@brentyi brentyi commented May 16, 2026

Some refinements after experimenting with mujocolab/mjviser#21:

  • Replaced on_drag_{start,update,end} with unified on_drag decorator
  • Scene on_click() no longer disables camera orbit at pointerdown
  • 3px motion gate now symmetric across click-only, drag-only, and click+drag nodes
  • Window-level pointerup/pointercancel safety net catches off-canvas releases

@brentyi brentyi merged commit a3d448b into main May 16, 2026
19 checks passed
@brentyi brentyi deleted the brent/20260511_drag_edge_case_fixes branch May 16, 2026 18:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant