Skip to content

fix(overview): custom tooltip position was impossible to select + use proper nk_edit#975

Open
sleeptightAnsiC wants to merge 1 commit into
Immediate-Mode-UI:masterfrom
sleeptightAnsiC:fix_overview_tooltips
Open

fix(overview): custom tooltip position was impossible to select + use proper nk_edit#975
sleeptightAnsiC wants to merge 1 commit into
Immediate-Mode-UI:masterfrom
sleeptightAnsiC:fix_overview_tooltips

Conversation

@sleeptightAnsiC

@sleeptightAnsiC sleeptightAnsiC commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

For some reason the 'static' was missing from cur_pos preventing selection of custom tooltip position. This was broken since: 0639685

Also fixed TODO note by using nk_edit_string_zero_terminated rather than reimplementing the wheel with text_len and '\0'

(I also tried fixing #974 by using # in the properties and NK_EDIT_SIMPLE in nk_edit_, but that bug is a bigger problem than I thought... I decided to keep those changes in order to rule out all possibilities)

Refs: #900
Refs: #937

… proper nk_edit

For some reason the 'static' was missing from cur_pos preventing
selection of custom tooltip position. This was broken since:
Immediate-Mode-UI@0639685
Also fixed TODO note by using nk_edit_string_zero_terminated rather
than reimplementing the wheel with text_len and '\0'

Refs: Immediate-Mode-UI#900
Refs: Immediate-Mode-UI#937
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