Eliminada gran cantidad de código sobrante

This commit is contained in:
2024-05-31 17:27:46 +02:00
parent 514372c9f0
commit d13e4daf25
9 changed files with 122 additions and 614 deletions

View File

@@ -165,11 +165,11 @@ void Notify::showText(std::string text1, std::string text2, int icon)
}
else if (options->notifications.posH == pos_middle)
{
despH = ((options->screen.windowWidth * options->windowSize) / 2 - (width / 2));
despH = ((options->video.windowWidth * options->video.windowSize) / 2 - (width / 2));
}
else
{
despH = (options->screen.windowWidth * options->windowSize) - width - padding;
despH = (options->video.windowWidth * options->video.windowSize) - width - padding;
}
// Posición vertical
@@ -180,7 +180,7 @@ void Notify::showText(std::string text1, std::string text2, int icon)
}
else
{
despV = (options->screen.windowHeight * options->windowSize) - height - padding;
despV = (options->video.windowHeight * options->video.windowSize) - height - padding;
}
const int travelDist = height + padding;