Fixing drawing problem.

This commit is contained in:
Dario Manesku
2014-11-19 17:24:41 +01:00
parent 00d5f1adcb
commit 950ceee749

View File

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