diff --git a/source/common/notify.cpp b/source/common/notify.cpp index 1b3ef06..26ef9e1 100644 --- a/source/common/notify.cpp +++ b/source/common/notify.cpp @@ -112,7 +112,6 @@ void Notify::showText(std::string text) const int despH = this->text->getCharacterSize() / 2; const int despV = despH; const int travelDist = height + despV; - // const int offset = (int)notifications.size() * (travelDist) + despV; const int offset = (int)notifications.size() > 0 ? notifications.back().y + travelDist : despV; // Crea la notificacion diff --git a/source/common/screen.cpp b/source/common/screen.cpp index 119dd2d..d017c43 100644 --- a/source/common/screen.cpp +++ b/source/common/screen.cpp @@ -371,7 +371,8 @@ void Screen::renderNotifications() return; } - SDL_RenderSetLogicalSize(renderer, screenWidth, screenHeight); + //SDL_RenderSetLogicalSize(renderer, screenWidth, screenHeight); + SDL_RenderSetLogicalSize(renderer, gameCanvasWidth*2, gameCanvasHeight*2); notify->render(); SDL_RenderSetLogicalSize(renderer, gameCanvasWidth, gameCanvasHeight); } \ No newline at end of file