Skip to content

fix(devkit): improve snapshot pane shader navigation and scroll targeting#542

Open
xq-r wants to merge 3 commits intoclshortfuse:mainfrom
xq-r:fix/snapshot-nav
Open

fix(devkit): improve snapshot pane shader navigation and scroll targeting#542
xq-r wants to merge 3 commits intoclshortfuse:mainfrom
xq-r:fix/snapshot-nav

Conversation

@xq-r
Copy link
Copy Markdown
Contributor

@xq-r xq-r commented Apr 11, 2026

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves snapshot-pane navigation in the devkit overlay, specifically making shader-row navigation scroll to the exact shader entry and fixing scroll/clipper alignment issues in the snapshot table.

Changes:

  • Introduces SnapshotNavigation state to support draw-level vs shader-level pending navigation and more accurate scroll targeting.
  • Fixes snapshot row height calculation to include table cell padding, improving ImGuiListClipper behavior and scroll offsets.
  • Updates navigation rendering to use list clipper inclusion for target rows and forces target draw nodes open when navigating to shader children.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@xq-r xq-r force-pushed the fix/snapshot-nav branch from 8c98500 to e505bdc Compare April 12, 2026 22:30
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.

2 participants