mirror of
https://github.com/ocornut/imgui.git
synced 2026-06-02 03:00:39 +08:00
Windows: Fixed an issue where BeginChild() inside a collapsed Begin() wouldn't inherit the SkipItems flag.
Amend/fix a89f05a10 (old!)
Discovered while looking at glyph being processed in WIP branch.
This commit is contained in:
@@ -47,6 +47,9 @@ Other changes:
|
|||||||
|
|
||||||
- Fixed IsItemDeactivatedAfterEdit() signal being broken for Checkbox(),
|
- Fixed IsItemDeactivatedAfterEdit() signal being broken for Checkbox(),
|
||||||
RadioButton(), Selectable(). Regression from 2025/01/13. (#8370)
|
RadioButton(), Selectable(). Regression from 2025/01/13. (#8370)
|
||||||
|
- Windows: Fixed an issue where BeginChild() inside a collapsed Begin()
|
||||||
|
wouldn't inherit the SkipItems flag, resulting in missing coarse clipping
|
||||||
|
opportunity for code not checking the BeginChild() return value.
|
||||||
- Windows, Style: Added style.WindowBorderHoverPadding setting to configure
|
- Windows, Style: Added style.WindowBorderHoverPadding setting to configure
|
||||||
inner/outer padding applied to hit-testing of windows borders and detection
|
inner/outer padding applied to hit-testing of windows borders and detection
|
||||||
of hovered window.
|
of hovered window.
|
||||||
|
|||||||
@@ -7702,7 +7702,7 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
|
|||||||
// Hide along with parent or if parent is collapsed
|
// Hide along with parent or if parent is collapsed
|
||||||
if (parent_window && (parent_window->Collapsed || parent_window->HiddenFramesCanSkipItems > 0))
|
if (parent_window && (parent_window->Collapsed || parent_window->HiddenFramesCanSkipItems > 0))
|
||||||
window->HiddenFramesCanSkipItems = 1;
|
window->HiddenFramesCanSkipItems = 1;
|
||||||
if (parent_window && (parent_window->Collapsed || parent_window->HiddenFramesCannotSkipItems > 0))
|
if (parent_window && parent_window->HiddenFramesCannotSkipItems > 0)
|
||||||
window->HiddenFramesCannotSkipItems = 1;
|
window->HiddenFramesCannotSkipItems = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -29,7 +29,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.91.9 WIP"
|
#define IMGUI_VERSION "1.91.9 WIP"
|
||||||
#define IMGUI_VERSION_NUM 19183
|
#define IMGUI_VERSION_NUM 19184
|
||||||
#define IMGUI_HAS_TABLE
|
#define IMGUI_HAS_TABLE
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user