|
@@ -8096,6 +8096,8 @@ bool ImGui::Begin(const char* name, bool* p_open, ImGuiWindowFlags flags)
|
|
|
// Title bar
|
|
|
if (!(flags & ImGuiWindowFlags_NoTitleBar) && !window->DockIsActive)
|
|
|
RenderWindowTitleBarContents(window, ImRect(title_bar_rect.Min.x + window->WindowBorderSize, title_bar_rect.Min.y, title_bar_rect.Max.x - window->WindowBorderSize, title_bar_rect.Max.y), name, p_open);
|
|
|
+ else if (!(flags & ImGuiWindowFlags_NoTitleBar) && window->DockIsActive)
|
|
|
+ LogText("%.*s\n", (int)(FindRenderedTextEnd(window->Name) - window->Name), window->Name);
|
|
|
|
|
|
// Clear hit test shape every frame
|
|
|
window->HitTestHoleSize.x = window->HitTestHoleSize.y = 0;
|