fix: ratolí visible en fullscreen

This commit is contained in:
2025-12-17 18:36:12 +01:00
parent 2555157bd7
commit 3d5277a395
5 changed files with 19 additions and 22 deletions

View File

@@ -245,8 +245,7 @@ void VectorText::render_centered(const std::string& text, const Punt& centre_pun
// restant la meitat de les dimensions del punt central
Punt posicio_esquerra = {
centre_punt.x - (text_width / 2.0f),
centre_punt.y - (text_height / 2.0f)
};
centre_punt.y - (text_height / 2.0f)};
// Delegar al mètode render() existent
render(text, posicio_esquerra, escala, spacing, brightness);