Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add file forgot to update
  • Loading branch information
UnknownShadow200 committed Jan 23, 2022
1 parent cc375f1 commit 746a902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/LScreens.c
Expand Up @@ -177,13 +177,13 @@ static void LScreen_DrawBackground(struct LScreen* s, struct Bitmap* bmp) {
int x;

if (!s->title_fore) {
LBackend_ResetArea(0, 0, WindowInfo.Width, WindowInfo.Height);
Launcher_DrawBackground(bmp, 0, 0, bmp->width, bmp->height);
return;
}
title_fore = String_FromReadonly(s->title_fore);
title_back = String_FromReadonly(s->title_back);

LBackend_ResetPixels();
Launcher_DrawBackgroundAll(bmp);
DrawTextArgs_Make(&args, &title_fore, &Launcher_LogoFont, false);
x = WindowInfo.Width / 2 - Drawer2D_TextWidth(&args) / 2;

Expand Down

0 comments on commit 746a902

Please sign in to comment.