web background color
This commit is contained in:
2
main.c
2
main.c
@ -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;
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user