Afegit position_overflow_ per a EnterName i poder plenar tots els slots de lletres

This commit is contained in:
2025-02-07 12:31:59 +01:00
parent 559210652f
commit 29bc4a64fd
3 changed files with 80 additions and 14 deletions

View File

@@ -382,8 +382,8 @@ void Scoreboard::recalculateAnchors()
slot4_4_ = {col, row4};
// Primer cuadrado para poner el nombre de record
// const int enter_name_lenght = NAME_LENGHT * 7;
const int enter_name_lenght = text_scoreboard_->lenght(std::string(NAME_LENGHT, ' '));
//const int enter_name_lenght = NAME_LENGHT * 7;
const int enter_name_lenght = text_scoreboard_->lenght(std::string(NAME_LENGHT, 'A'));
enter_name_pos_.x = (panel_width - enter_name_lenght) / 2;
enter_name_pos_.y = row4;