Repository navigation
Commit c4e370b
Fix(nk_property): property widget not updating 'win->edit.active' state
Other "editable" widgets are updating the its window 'edit.active' state,
but not nk_property. SDL3 demo needs this in order to hook SDL_SetTextInput.
This patch was initially proposed by https://github.com/rswinkle
The only thing I changed in it, was a removal of 'edit.name' update,
nk_property is not using the name hash, so there is no reason to set it.
Origin: #852 (comment)
Co-authored-by: Robert Winkler <[email protected]>1 parent fcd64f8 commit c4e370b
3 files changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29073 | 29073 | | |
29074 | 29074 | | |
29075 | 29075 | | |
| 29076 | + | |
29076 | 29077 | | |
29077 | 29078 | | |
29078 | 29079 | | |
| |||
29088 | 29089 | | |
29089 | 29090 | | |
29090 | 29091 | | |
| 29092 | + | |
29091 | 29093 | | |
29092 | 29094 | | |
29093 | 29095 | | |
| |||
30729 | 30731 | | |
30730 | 30732 | | |
30731 | 30733 | | |
| 30734 | + | |
30732 | 30735 | | |
30733 | 30736 | | |
30734 | 30737 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
| |||
420 | 421 | | |
421 | 422 | | |
422 | 423 | | |
| 424 | + | |
423 | 425 | | |
424 | 426 | | |
425 | 427 | | |
| |||
0 commit comments