Afegit position_overflow_ per a EnterName i poder plenar tots els slots de lletres
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user