ajout menu info
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user