From 0c7dea6cb3534b8772a373ea0fe809de56049b1e Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Mon, 11 Aug 2014 19:48:37 +0100 Subject: [PATCH] Minor imgui fixes. --- examples/common/imgui/imgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/common/imgui/imgui.cpp b/examples/common/imgui/imgui.cpp index dbd37898..9e86240b 100644 --- a/examples/common/imgui/imgui.cpp +++ b/examples/common/imgui/imgui.cpp @@ -685,7 +685,7 @@ struct Imgui { drawRect( (float)_x , (float)_y - , (float)_width + , (float)_width + 0.3f /*border fix for seamlessly joining two scroll areas*/ , (float)_height + 0.3f /*border fix for seamlessly joining two scroll areas*/ , imguiRGBA(0, 0, 0, 192) ); @@ -1052,7 +1052,7 @@ struct Imgui // Draw input area. int32_t height = BUTTON_HEIGHT; - int32_t width = m_widgetW - 2; + int32_t width = m_widgetW; if (drawLabel) { uint32_t numVertices = 0; //unused