Skip to content

Commit

Permalink
add templated width/height for itch auto-detect
Browse files Browse the repository at this point in the history
  • Loading branch information
seleb committed Feb 18, 2025
1 parent 6e6a0e6 commit 8e5935b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WebGLTemplates/BetterMinimal/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<body>
<div id="gameContainer">
<canvas id="unity-canvas" data-pixel-art="{{{ OPTIMIZE_FOR_PIXEL_ART }}}"></canvas>
<canvas id="unity-canvas" width="{{{ WIDTH }}}" height="{{{ HEIGHT }}}" data-pixel-art="{{{ OPTIMIZE_FOR_PIXEL_ART }}}"></canvas>
<script src="Build/{{{ LOADER_FILENAME }}}"></script>
<script>
var canvas = document.querySelector("#unity-canvas");
Expand Down

0 comments on commit 8e5935b

Please sign in to comment.