From 06fe80dbd559f59e725f5e6978bf8bad37a5e7a6 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Thu, 12 Nov 2020 23:58:16 +0100 Subject: [PATCH] Removed Dockspace title bar again --- source/window.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/window.cpp b/source/window.cpp index 146c8e117..3fc955b6f 100644 --- a/source/window.cpp +++ b/source/window.cpp @@ -51,6 +51,7 @@ namespace hex { ImGui::SetNextWindowViewport(viewport->ID); ImGui::PushStyleVar(ImGuiStyleVar_WindowRounding, 0.0f); ImGui::PushStyleVar(ImGuiStyleVar_WindowBorderSize, 0.0f); + windowFlags |= ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize; windowFlags |= ImGuiWindowFlags_NoBringToFrontOnFocus | ImGuiWindowFlags_NoNavFocus; ImGui::Begin("DockSpace", nullptr, windowFlags);