Use pre-calculated UI offset values.

This commit is contained in:
Steve 2018-12-22 15:07:55 +00:00
parent cc4829a3a6
commit 38ca6c24fe
1 changed files with 2 additions and 2 deletions

View File

@ -77,8 +77,8 @@ void presentScene(void)
uiDest.w = UI_WIDTH;
uiDest.h = UI_HEIGHT;
uiDest.x = (app.winWidth / 2) - (UI_WIDTH / 2);
uiDest.y = (app.winHeight / 2) - (UI_HEIGHT / 2);
uiDest.x = app.uiOffset.x;
uiDest.y = app.uiOffset.y;
if (dev.debug)
{