Closed ghost closed 1 year ago
Hi, I think you're correct. According to SDL:
"Return" (the Enter key (main keyboard))
Since ImGui
doesn't distinguish between the return and enter key, the default enter should be the return key. Lovely bit of awkward cs heritage.
Feel free to submit a PR, otherwise I'll update it for the next release.
Being able to finalize input fields by pressing enter is the main victory with this fix. Another issue in close relation to this is being able to delay committing the value until focus is lost. But let's now forget about that as it might just be improper flag usage in our application.
Merged: https://github.com/napframework/nap/pull/15
Please open another issue if the problem you mentioned is related to our implementation of ImGUI.
Hey, https://github.com/napframework/nap/blob/04801e6d49d2476a88abb2907d091675eca01b7c/modules/napimgui/src/imguiservice.cpp#L389 Isn't this supposed to be
?