Small cosmetic changes to the input device configuration screen.

This commit is contained in:
Leon Styhre 2021-05-23 10:16:47 +02:00
parent 0f00701c93
commit 83b764cf1f
2 changed files with 3 additions and 3 deletions

View file

@ -540,7 +540,7 @@ int main(int argc, char* argv[])
// Open the input configuration GUI if the flag to force this was passed from the command line.
if (!loadSystemsStatus) {
if (forceInputConfig) {
window.pushGui(new GuiDetectDevice(&window, true, true, [] {
window.pushGui(new GuiDetectDevice(&window, false, true, [] {
ViewController::get()->goToStart(); }));
}
else {

View file

@ -36,8 +36,8 @@ GuiDetectDevice::GuiDetectDevice(
addChild(&mGrid);
// Title.
mTitle = std::make_shared<TextComponent>(mWindow, firstRun ? "WELCOME" : "CONFIGURE INPUT",
Font::get(FONT_SIZE_LARGE), 0x555555FF, ALIGN_CENTER);
mTitle = std::make_shared<TextComponent>(mWindow, firstRun ? "WELCOME" :
"CONFIGURE INPUT DEVICE", Font::get(FONT_SIZE_LARGE), 0x555555FF, ALIGN_CENTER);
mGrid.setEntry(mTitle, Vector2i(0, 0), false, true, Vector2i(1, 1), GridFlags::BORDER_BOTTOM);
// Device info.