Skip to content

Commit 91e8f2b

Browse files
committed
Debug Tools: Debug Log: hovering 0xXXXXXXXX values in log is allowed even if a popup is blocking mouse access to the debug log window. (#5855)
1 parent eed9502 commit 91e8f2b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docs/CHANGELOG.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ Other changes:
5858
yourself based on your own logic. (#8223)
5959
- Nav: Fixed an issue where Alt key would clear current active item on
6060
windows with the ImGuiWindowFlags_NoNavInputs flag. (#8231)
61+
- Debug Tools: Debug Log: hovering 0xXXXXXXXX values in log is allowed even
62+
if a popup is blocking mouse access to the debug log window. (#5855)
6163
- Backends: Vulkan: Fixed setting VkSwapchainCreateInfoKHR::preTransform for
6264
platforms not supporting VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR. (#8222) [@Zer0xFF]
6365

imgui.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16501,7 +16501,7 @@ void ImGui::ShowDebugLogWindow(bool* p_open)
1650116501
void ImGui::DebugTextUnformattedWithLocateItem(const char* line_begin, const char* line_end)
1650216502
{
1650316503
TextUnformatted(line_begin, line_end);
16504-
if (!IsItemHovered())
16504+
if (!IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
1650516505
return;
1650616506
ImGuiContext& g = *GImGui;
1650716507
ImRect text_rect = g.LastItemData.Rect;

0 commit comments

Comments
 (0)