|
|
@@ -1266,7 +1266,7 @@ void UpdateStats(float timeStep)
|
|
|
|
|
|
if(viewportMode != VIEWPORT_COMPACT)
|
|
|
{
|
|
|
- if (graphics.width >= editorModeText.size.x + renderStatsText.size.x + 45)
|
|
|
+ if (ui.root.width >= editorModeText.size.x + renderStatsText.size.x + 45)
|
|
|
{
|
|
|
SetupStatsBarText(editorModeText, font, 35, 64, HA_LEFT, VA_TOP);
|
|
|
SetupStatsBarText(renderStatsText, font, -4, 64, HA_RIGHT, VA_TOP);
|