Minor imgui fixes.

This commit is contained in:
Dario Manesku 2014-08-11 19:48:37 +01:00
parent 6388d1a657
commit 0c7dea6cb3

View file

@ -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