mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-17 20:31:57 -05:00
Draw parameters fixup for imguiTabs().
This commit is contained in:
parent
e4a067efe6
commit
83587d51d0
1 changed files with 8 additions and 8 deletions
|
@ -1174,18 +1174,18 @@ struct Imgui
|
|||
if (0 == _r)
|
||||
{
|
||||
drawRect( (float)m_widgetX
|
||||
, (float)yy-1
|
||||
, (float)yy
|
||||
, (float)m_widgetW
|
||||
, (float)_height+2
|
||||
, (float)_height
|
||||
, imguiRGBA(128, 128, 128, 96)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
drawRoundedRect( (float)m_widgetX
|
||||
, (float)yy-1
|
||||
, (float)yy
|
||||
, (float)m_widgetW
|
||||
, (float)_height+2
|
||||
, (float)_height
|
||||
, (float)_r
|
||||
, imguiRGBA(128, 128, 128, 96)
|
||||
);
|
||||
|
@ -1216,18 +1216,18 @@ struct Imgui
|
|||
if (0 == _r)
|
||||
{
|
||||
drawRect( (float)xx
|
||||
, (float)yy-1
|
||||
, (float)yy
|
||||
, (float)tabWidth
|
||||
, (float)_height+2
|
||||
, (float)_height
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,96)
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
drawRoundedRect( (float)xx
|
||||
, (float)yy-1
|
||||
, (float)yy
|
||||
, (float)tabWidth
|
||||
, (float)_height+2
|
||||
, (float)_height
|
||||
, (float)_r
|
||||
, enabled?imguiRGBA(255,196,0,200):imguiRGBA(128,128,128,96)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue