Fix render issues with fonts
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
// Simple demo game to test the launcher
|
||||
|
||||
#include "demo_game.h"
|
||||
#include "board_config.h"
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -53,7 +54,11 @@ void DemoGame::draw() {
|
||||
|
||||
// Instructions
|
||||
if (tap_count < 3) {
|
||||
#ifdef BUTTON_KEY0_PIN
|
||||
renderer->draw_string(width/2 - 80, y + 80, "Tap or press 3 times", true);
|
||||
#else
|
||||
renderer->draw_string(width/2 - 80, y + 80, "Tap 3 times to exit", true);
|
||||
#endif
|
||||
} else {
|
||||
renderer->draw_string(width/2 - 70, y + 80, "Exiting to menu...", true);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user