Buttons: using ImGuiItemFlags_ButtonRepeat makes default button behavior use PressedOnClick instead of PressedOnClickRelease when unspecified.

This commit is contained in:
ocornut
2024-10-29 14:26:02 +01:00
parent 0bde57c25a
commit 9a0dff1bc5
3 changed files with 10 additions and 8 deletions

View File

@@ -45,6 +45,8 @@ Other changes:
- Selectable: selected Selectables use ImGuiCol_Header instead of an arbitrary lerp
between _Header and _HeaderHovered which was introduced v1.91 (#8106, #1861)
- Buttons: using ImGuiItemFlags_ButtonRepeat makes default button behavior use
PressedOnClick instead of PressedOnClickRelease when unspecified.
- Fonts: removed const qualifiers from most font functions.
- Backends: DX12: Unmap() call specify written range. The range is informational and
may be used by debug tools.