Anchor radar at bottom of map.

This commit is contained in:
Steve 2018-02-26 08:19:21 +00:00
parent 42c6c43cd8
commit a729bfe7ee
1 changed files with 5 additions and 0 deletions

View File

@ -64,6 +64,11 @@ void initRadar(void)
viewRect.x = limit(viewRect.x, limits.x, limits.w);
viewRect.y = limit(viewRect.y, limits.y, limits.h);
if (viewRect.y > limits.h)
{
viewRect.y -= (viewRect.y - limits.h);
}
blinkTimer = 0;