mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixing drawing problem.
This commit is contained in:
@@ -1524,7 +1524,7 @@ struct Imgui
|
||||
{
|
||||
const uint32_t id = getId();
|
||||
|
||||
int32_t buttonX = xx + ii*tabWidth;
|
||||
int32_t buttonX = xx + ii*width/tabCount;
|
||||
int32_t textX = buttonX + tabWidthHalf;
|
||||
|
||||
const bool enabled = _enabled && tabEnabled[ii] && isEnabled(m_areaId);
|
||||
|
||||
Reference in New Issue
Block a user