Better align of viewpoint UI

1008-fix
tomangelo2 2018-04-23 08:12:33 +02:00
parent 2f71cce9c9
commit 5e8be5f6bc
1 changed files with 1 additions and 1 deletions

View File

@ -5870,7 +5870,7 @@ void CRobotMain::CreateCodeBattleInterface()
{ {
//create button //create button
pos.x = (550.0f+40.0f*(i%2))/640.0f; pos.x = (550.0f+40.0f*(i%2))/640.0f;
pos.y = (120.0f+offset)/480.0f + numTeams * textHeight - 45.0f*(i/2)/480.0f; pos.y = (130.0f+offset)/480.0f + numTeams * textHeight - 45.0f*(i/2)/480.0f;
pw->CreateButton(pos,ddim, 13, EventType(EVENT_VIEWPOINT0 + i)); pw->CreateButton(pos,ddim, 13, EventType(EVENT_VIEWPOINT0 + i));
} }