Immediate-Mode-UI / Immediate-Mode-UI/Nuklear
Modifying nuklear.h and scrollbars stop working.
- Dominant language
- C
- Stars
- 11.4k
- Forks
- 686
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 3
Description
So I modified Nuklear to have two scrollbar flags: NK_WINDOW_NO_VSCROLLBAR and NK_WINDOW_NO_HSCROLLBAR.
What is modified is anything that referenced the flag "NK_WINDOW_NO_SCROLLBAR" except when it was just using the flag (I reimplemented this to be both flags).
Another modification: Only to tooltips. They now are away from the mouse and at least when I use my tooltips it checks for the end of the screen and offsets it accordingly.
Contributor guide
Research direction
Start by reviewing the reported changes to nuklear.h, especially replacements of NK_WINDOW_NO_SCROLLBAR with NK_WINDOW_NO_VSCROLLBAR and NK_WINDOW_NO_HSCROLLBAR. Reproduce the scrollbar failure with those flags and separately inspect the tooltip positioning change; done means scrollbars work correctly while the intended tooltip offsets remain intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100