RobLoach / RobLoach/nuklear_console
Switch parent during `nk_console_free()`
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 22
- Forks
- 4
- Avg merge
- 4m
- Merged PRs (30d)
- 2
Description
When we're calling nk_console_free(), make it so that if the current console is the active parent, we switch the active parent to the console's parent. Don't want the active parent to become destroyed when in use.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the nk_console_free() entry point and inspect how the current console and active parent are tracked. Verify the behavior when freeing the active parent, then ensure the console's parent becomes active and the destroyed console is no longer selected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100