InputScalar: Automatically allow hexadecimal/scientific input when format is adequate.

This commit is contained in:
ocornut
2022-04-05 15:13:37 +02:00
parent c521883be4
commit a472e8834b
3 changed files with 21 additions and 12 deletions

View File

@ -56,6 +56,8 @@ Other Changes:
- Sliders, Drags: Fixed dragging when using hexadecimal display format string. (#5165, #3133)
- Sliders, Drags: Fixed manual input when using hexadecimal display format string. (#5165, #3133)
- InputScalar: Fixed manual input when using %03d style width in display format string. (#5165, #3133)
- InputScalar: Automatically allow hexadecimal input when format is %X (without extra flag).
- InputScalar: Automatically allow scientific input when format is float/double (without extra flag).
- IsItemHovered(): added ImGuiHoveredFlags_NoNavOverride to disable the behavior where the
return value is overriden by focus when gamepad/keyboard navigation is active.
- InputText: Fixed pressing Tab emitting two tabs characters because of dual Keys/Chars events being