ajout menu info

This commit is contained in:
2025-03-26 00:39:39 +01:00
parent b2567844fc
commit 009ed8edc3
6 changed files with 117 additions and 8 deletions

View File

@@ -82,7 +82,7 @@ class AppMenu {
else {
text.setOutlineThickness(0);
}
text.setOrigin(text.getLocalBounds().getCenter());
text.setOrigin({text.getLocalBounds().getCenter().x, text.getLocalBounds().size.y / 2});
text.setPosition(sf::Vector2f({sizeMultiplier * 40.f, sizeMultiplier * yPos}));
this->renderWindow->draw(text);
}