web background color
This commit is contained in:
2
main.c
2
main.c
@ -464,6 +464,7 @@ void UpdateDrawFrame(void) {
|
|||||||
isFullscreen = !isFullscreen;
|
isFullscreen = !isFullscreen;
|
||||||
}
|
}
|
||||||
Rectangle currentViewBounds = isFullscreen ? fullScreenBounds : normalBounds;
|
Rectangle currentViewBounds = isFullscreen ? fullScreenBounds : normalBounds;
|
||||||
|
ClearBackground(BLACK);
|
||||||
BeginDrawing();
|
BeginDrawing();
|
||||||
ClearBackground(COLOR_BG);
|
ClearBackground(COLOR_BG);
|
||||||
// Grille fond
|
// Grille fond
|
||||||
@ -517,4 +518,3 @@ int main () {
|
|||||||
CloseWindow();
|
CloseWindow();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
body {
|
body {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background-color: #111;
|
background-color: #19191e;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
canvas.emscripten {
|
canvas.emscripten {
|
||||||
border: 0px none;
|
border: 0px none;
|
||||||
background-color: black;
|
background-color: #19191e;
|
||||||
display: block;
|
display: block;
|
||||||
|
|
||||||
aspect-ratio: 16 / 9;
|
aspect-ratio: 16 / 9;
|
||||||
|
|||||||
Reference in New Issue
Block a user