Les notificacions ara accepten un vector de cadenes en lloc de una o dos cadenes

This commit is contained in:
2024-11-03 18:12:46 +01:00
parent 69a92cba66
commit f29eb2f411
6 changed files with 61 additions and 75 deletions

View File

@@ -342,7 +342,7 @@ void Screen::toggleShaders()
options.video.shaders = !options.video.shaders;
setVideoMode(options.video.mode);
const std::string value = options.video.shaders ? "on" : "off";
Notifier::get()->showText("Shaders " + value);
Notifier::get()->showText({"Shaders " + value});
}
// Activa / desactiva la información de debug