PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349)

+ amended demo tweaks by ocornut
This commit is contained in:
Filippo Crocchini
2021-07-22 00:29:42 +02:00
committed by ocornut
parent 03ce17f0a5
commit eb6c16d3dd
3 changed files with 6 additions and 5 deletions

View File

@ -47,6 +47,7 @@ Other Changes:
the whole widget is clipped.
- TextUnformatted: Accept null ranges including (NULL,NULL) without asserting, in order to conform
to common idioms (e.g. passing .data(), .data() + .size() from a null string). (#3615)
- PlotHistogram: Fixed zero-line position when manually specifying min<0 and max>0. (#4349) [@filippocrocchini]
- IO: Added 'io.WantCaptureMouseUnlessPopupClose' alternative to `io.WantCaptureMouse'. (#4480)
This allows apps to receive the click on void when that click is used to close popup (by default,
clicking on a void when a popup is open will close the popup but not release io.WantCaptureMouse).