PlotHistogram, PlotLines: use ButtonBehavior() to be idiomatic. (#7935, #3072)

This commit is contained in:
ocornut
2024-09-03 21:55:26 +02:00
parent afb15e9795
commit 776813416b
2 changed files with 4 additions and 3 deletions

View File

@@ -92,8 +92,8 @@ Other changes:
- TextLink(), TextLinkOpenURL(): change mouse cursor to Hand shape when hovered. (#7885, #7660)
- Tooltips, Drag and Drop: made it possible to override BeginTooltip() position while inside
a drag and drop source or target: a SetNextWindowPos() call won't be overriden. (#6973)
- PlotHistogram, PlotLines: register item ID in a more idiomatic manner, fixes preventing
e.g. GetItemID() and other ID-based helper to work. (#7935, #3072)
- PlotHistogram, PlotLines: register item ID and use button behavior in a more idiomatic manner,
fixes preventing e.g. GetItemID() and other ID-based helper to work. (#7935, #3072)
- Style: added PushStyleVarX(), PushStyleVarY() helpers to modify only one component of a ImVec2 var.
- Fonts: made it possible to use PushFont()/PopFont() calls accross Begin() calls. (#3224, #3875, #6398, #7903)
- Backends: