Añadido botón de servicio al titulo

This commit is contained in:
2024-09-09 13:31:37 +02:00
parent 7e1085ea42
commit 1b2d1c5786
6 changed files with 65 additions and 34 deletions

View File

@@ -328,8 +328,6 @@ void Screen::checkInput()
else if (input->checkInput(input_video_shaders, DO_NOT_ALLOW_REPEAT))
{
switchShaders();
const std::string value = options->video.shaders ? "on" : "off";
showNotification("Shaders " + value);
}
#endif
@@ -419,6 +417,8 @@ void Screen::switchShaders()
{
options->video.shaders = !options->video.shaders;
setVideoMode(options->video.mode);
const std::string value = options->video.shaders ? "on" : "off";
showNotification("Shaders " + value);
}
// Atenua la pantalla