1
0
Fork 0
mirror of https://github.com/ocornut/imgui.git synced 2026-01-11 00:04:24 +00:00

InputText: sanity checks to e.g. detect non zero-terminated buffers + removed a redundant strlen() call during activation.

This commit is contained in:
ocornut 2024-12-19 15:10:44 +01:00
parent ae839620b9
commit 9b0e61aaaa
2 changed files with 6 additions and 1 deletions

View file

@ -47,6 +47,8 @@ Other changes:
were not applied when pasting from clipbard. (#8229)
- InputText: Fixed issue when activating a ReadOnly field when the underlying
value is being modified. (#8242)
- InputText: Added sanity check to detect some cases of passing a non
zero-terminated input buffer.
- Drags: Added ImGuiSliderFlags_NoSpeedTweaks flag to disable keyboard
modifiers altering the tweak speed. Useful if you want to alter tweak speed
yourself based on your own logic. (#8223)