From aa7afb8732a77e7ea88ac1d5ccdb2c54832c992a Mon Sep 17 00:00:00 2001 From: Thibault Hennequin Date: Sun, 20 Aug 2017 14:43:12 +0200 Subject: [PATCH] Remove useless space dummy --- ImWindow/ImwContainer.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/ImWindow/ImwContainer.cpp b/ImWindow/ImwContainer.cpp index a456f2a..7861a79 100644 --- a/ImWindow/ImwContainer.cpp +++ b/ImWindow/ImwContainer.cpp @@ -784,9 +784,6 @@ namespace ImWindow oStyle.Colors[ImGuiCol_Border] = oBorderColor; oStyle.Colors[ImGuiCol_BorderShadow] = oBorderShadowColor; - if (!bAlone) - ImGui::Dummy(ImVec2(0.f, 2.f)); //2 pixels space; - ImVec2 oWinPos = ImGui::GetWindowPos(); ImVec2 oWinSize = ImGui::GetWindowSize();