Demo: implementado el cambio de tamaño de la ventana
This commit is contained in:
@@ -142,11 +142,11 @@ void Notify::showText(string text1, string text2, int icon)
|
||||
}
|
||||
else if (options->notifications.posH == pos_middle)
|
||||
{
|
||||
despH = ((options->screen.windowWidth * options->windowSize) / 2 - (width / 2));
|
||||
despH = ((options->screen.nativeWidth * options->screen.windowZoom) / 2 - (width / 2));
|
||||
}
|
||||
else
|
||||
{
|
||||
despH = (options->screen.windowWidth * options->windowSize) - width - padding;
|
||||
despH = (options->screen.nativeWidth * options->screen.windowZoom) - width - padding;
|
||||
}
|
||||
|
||||
// Posición vertical
|
||||
@@ -157,7 +157,7 @@ void Notify::showText(string text1, string text2, int icon)
|
||||
}
|
||||
else
|
||||
{
|
||||
despV = (options->screen.windowHeight * options->windowSize) - height - padding;
|
||||
despV = (options->screen.nativeHeight * options->screen.windowZoom) - height - padding;
|
||||
}
|
||||
|
||||
const int travelDist = height + padding;
|
||||
|
||||
Reference in New Issue
Block a user