InputText: Tweak ImGuiInputTextFlags_EscapeClearsAll handling so decision is taken on input buffer + Showcase a few more InputText() flags. (#5688, #2620)

This makes is more obvious that value_change==true when apply_new_text != NULL.
This commit is contained in:
ocornut
2023-07-06 19:27:23 +02:00
parent 6aa408c6af
commit 3349296370
3 changed files with 22 additions and 4 deletions

View File

@ -50,6 +50,7 @@ Other changes:
(what now obsoleted io.ClearInputCharacters() did), as this is effectively the
desirable behavior.
- Demo: Better showcase use of SetNextItemAllowOverlap(). (#6574, #6512, #3909, #517)
- Demo: Showcase a few more InputText() flags.
-----------------------------------------------------------------------