web background color

This commit is contained in:
2025-12-29 13:59:09 +01:00
parent 7b5cf06bd0
commit ea3530c01e
2 changed files with 3 additions and 3 deletions

2
main.c
View File

@ -464,6 +464,7 @@ void UpdateDrawFrame(void) {
isFullscreen = !isFullscreen;
}
Rectangle currentViewBounds = isFullscreen ? fullScreenBounds : normalBounds;
ClearBackground(BLACK);
BeginDrawing();
ClearBackground(COLOR_BG);
// Grille fond
@ -517,4 +518,3 @@ int main () {
CloseWindow();
return 0;
}

View File

@ -8,7 +8,7 @@
body {
margin: 0;
padding: 0;
background-color: #111;
background-color: #19191e;
overflow: hidden;
display: flex;
justify-content: center;
@ -19,7 +19,7 @@
canvas.emscripten {
border: 0px none;
background-color: black;
background-color: #19191e;
display: block;
aspect-ratio: 16 / 9;