v1.72b
版本发布时间: 2019-08-01 05:59:30
ocornut/imgui最新发布版本:v1.91.3(2024-10-04 21:48:34)
See https://github.com/ocornut/imgui for the project homepage. See https://github.com/ocornut/imgui/releases for earlier release notes. See https://github.com/ocornut/imgui/wiki for language/framework bindings, links, 3rd parties helpers/extensions. New users: go to https://discourse.dearimgui.org for technical support.
TL;DR;
Releasing this as a hot-fix as 1.71 and 1.72 have a regression with gamepad/keyboard controls, where scrolling didn't always correctly track the navigated item.
Changes
- Nav, Scrolling: Fixed programmatic scroll leading to a slightly incorrect scroll offset when the window has decorations or a menu-bar (broken in 1.71). This was mostly noticeable when a keyboard/gamepad movement led to scrolling the view, or using e.g.
SetScrollHereY()
function. - Nav: Made hovering non-MenuItem Selectable not re-assign the source item for keyboard navigation.
- Nav: Fixed an issue with
ImGuiWindowFlags_NavFlattened
(beta flag) where widgets not entirely fitting in child window (often selectables because of their protruding sides) would be not considered as entry points to to navigate toward the child window. (#787)