mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-08 23:19:40 +01:00
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)
This commit is contained in:
parent
eed9502795
commit
91e8f2b0fe
@ -58,6 +58,8 @@ Other changes:
|
|||||||
yourself based on your own logic. (#8223)
|
yourself based on your own logic. (#8223)
|
||||||
- Nav: Fixed an issue where Alt key would clear current active item on
|
- Nav: Fixed an issue where Alt key would clear current active item on
|
||||||
windows with the ImGuiWindowFlags_NoNavInputs flag. (#8231)
|
windows with the ImGuiWindowFlags_NoNavInputs flag. (#8231)
|
||||||
|
- 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)
|
||||||
- Backends: Vulkan: Fixed setting VkSwapchainCreateInfoKHR::preTransform for
|
- Backends: Vulkan: Fixed setting VkSwapchainCreateInfoKHR::preTransform for
|
||||||
platforms not supporting VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR. (#8222) [@Zer0xFF]
|
platforms not supporting VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR. (#8222) [@Zer0xFF]
|
||||||
|
|
||||||
|
@ -16501,7 +16501,7 @@ void ImGui::ShowDebugLogWindow(bool* p_open)
|
|||||||
void ImGui::DebugTextUnformattedWithLocateItem(const char* line_begin, const char* line_end)
|
void ImGui::DebugTextUnformattedWithLocateItem(const char* line_begin, const char* line_end)
|
||||||
{
|
{
|
||||||
TextUnformatted(line_begin, line_end);
|
TextUnformatted(line_begin, line_end);
|
||||||
if (!IsItemHovered())
|
if (!IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem))
|
||||||
return;
|
return;
|
||||||
ImGuiContext& g = *GImGui;
|
ImGuiContext& g = *GImGui;
|
||||||
ImRect text_rect = g.LastItemData.Rect;
|
ImRect text_rect = g.LastItemData.Rect;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user