From b8980d1b0b457a2f3676627a01db9e16b64838fd Mon Sep 17 00:00:00 2001 From: Sergio Valor Martinez Date: Mon, 24 Oct 2022 13:29:34 +0200 Subject: [PATCH] Centrados los textos de los creditos --- source/credits.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/credits.cpp b/source/credits.cpp index ab3d2e0..ec4e6bc 100644 --- a/source/credits.cpp +++ b/source/credits.cpp @@ -125,7 +125,7 @@ void Credits::fillTexture() for (auto t : texts) { - text->writeColored(0, i * size, t.label, t.color); + text->writeDX(TXT_CENTER | TXT_COLOR, PLAY_AREA_CENTER_X, i * size, t.label, 1, t.color); i++; }