mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Support canvas scaling with window
This commit is contained in:
@ -58,7 +58,7 @@
|
||||
div.emscripten_border { border: 1px solid black; }
|
||||
|
||||
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
|
||||
canvas.emscripten { border: 0px none; background: black; }
|
||||
canvas.emscripten { border: 0px none; background: black; width: 100% }
|
||||
|
||||
#emscripten_logo {
|
||||
display: inline-block;
|
||||
|
||||
Reference in New Issue
Block a user