mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-18 13:41:26 +01:00
Support canvas scaling with window
This commit is contained in:
@ -58,7 +58,7 @@
|
|||||||
div.emscripten_border { border: 1px solid black; }
|
div.emscripten_border { border: 1px solid black; }
|
||||||
|
|
||||||
/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
|
/* 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 {
|
#emscripten_logo {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|||||||
Reference in New Issue
Block a user