InputText: Fixed a case where deactivation frame would write to underlying buffer or call CallbackResize although unnecessary, in a frame where the return value was false.

This commit is contained in:
ocornut
2023-07-06 19:32:28 +02:00
parent 3349296370
commit b32ef809c3
2 changed files with 5 additions and 2 deletions

View File

@ -42,6 +42,9 @@ Breaking changes:
Other changes:
- InputText: Fixed a case where deactivation frame would write to underlying
buffer or call CallbackResize although unnecessary, in a frame where the
return value was false.
- IO: Added io.ClearEventsQueue() to clear incoming inputs events. (#4921)
May be useful in conjunction with io.ClearInputsKeys() if you need to clear
both current inputs state and queued events (e.g. when using blocking native