mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Minor imgui fixes.
This commit is contained in:
parent
6388d1a657
commit
0c7dea6cb3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue