mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Menus, Popups: Fixed an issue where hovering a parent-menu upward would erroneously close the window. (#7325, #7287, #7063)
Amend76e09c4b0
. Initial call to ClosePopupToLeveld31fe97f7
(#2880). See "widgets_menu_reopen_2" in TestSuite.
This commit is contained in:
parent
c16043c1d5
commit
014e0ac8c9
@ -43,6 +43,8 @@ Breaking changes:
|
|||||||
|
|
||||||
Other changes:
|
Other changes:
|
||||||
|
|
||||||
|
- Menus, Popups: Fixed an issue where hovering a parent-menu upward would
|
||||||
|
erroneously close the window. (#7325, #7287, #7063)
|
||||||
- Tables: Angled headers: fixed support for multi-line labels. (#6917)
|
- Tables: Angled headers: fixed support for multi-line labels. (#6917)
|
||||||
- Tables: Angled headers: various fixes to accurately handle CellPadding changes. (#6917)
|
- Tables: Angled headers: various fixes to accurately handle CellPadding changes. (#6917)
|
||||||
- Tables: Angled headers: properly registers horizontal component of angled headers
|
- Tables: Angled headers: properly registers horizontal component of angled headers
|
||||||
|
@ -10797,7 +10797,7 @@ void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Reopen: close child popups if any, then flag popup for open/reopen (set position, focus, init navigation)
|
// Reopen: close child popups if any, then flag popup for open/reopen (set position, focus, init navigation)
|
||||||
ClosePopupToLevel(current_stack_size, false);
|
ClosePopupToLevel(current_stack_size, true);
|
||||||
g.OpenPopupStack.push_back(popup_ref);
|
g.OpenPopupStack.push_back(popup_ref);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
imgui.h
2
imgui.h
@ -24,7 +24,7 @@
|
|||||||
// Library Version
|
// Library Version
|
||||||
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
|
// (Integer encoded as XYYZZ for use in #if preprocessor conditionals, e.g. '#if IMGUI_VERSION_NUM >= 12345')
|
||||||
#define IMGUI_VERSION "1.90.4 WIP"
|
#define IMGUI_VERSION "1.90.4 WIP"
|
||||||
#define IMGUI_VERSION_NUM 19031
|
#define IMGUI_VERSION_NUM 19032
|
||||||
#define IMGUI_HAS_TABLE
|
#define IMGUI_HAS_TABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user