Skip to content

Guard scroll reset outside a frame - #310

Merged
RobLoach merged 1 commit into
masterfrom
navigate-outside-frame
Sep 14, 2026
Merged

RobLoach merged 1 commit into
masterfrom
navigate-outside-frame

Conversation

@RobLoach

Copy link
Copy Markdown
Owner

nk_console_set_active_parent() calls nk_window_set_scroll(), which asserts when no window is current, so navigation like nk_console_navigate_to_path() could only run mid-frame; the reset is now skipped outside a frame (the render pass re-centers scroll on the active widget anyway), with a regression test navigating between frames.

@RobLoach
RobLoach merged commit 9f2f91c into master Sep 14, 2026
6 checks passed
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