Skip to content

Commit

Permalink
chore: tring to remove zoom from ios
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoDornelles committed Nov 8, 2023
1 parent 46feeb4 commit 9088f78
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions res/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="twitter:title" content="Coco Battle Royale 2" />
<meta property="twitter:description" content="Coco Battle Royale II ココバトル (kokobatoru) 2 is a homebrew game for nintendo years 80 console, distributed as free software. " />
<meta property="twitter:image" content="https://psywave-games.github.io/coco-battle-royale-2/coco-banner.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<style>
*, *::after, *::before {
touch-action: none;
Expand All @@ -30,9 +30,6 @@
#gameCanvas {
width: 100vmin;
}
#gamepad canvas {
width: 49%;
}
canvas {
padding-left: 0;
padding-right: 0;
Expand Down Expand Up @@ -64,12 +61,12 @@
<section>loading...</section>
<canvas id="gameCanvas" width="256" height="240" style="display: none"></canvas>
<div id="gamepad" style="display: flex">
<canvas width="128" height="128"
<canvas width="128" height="256"
style="display: none"
class="gpz-joy"
data-gpz-bind="ArrowUp ArrowLeft ArrowDown ArrowRight">
</canvas>
<canvas width="128" height="128"
<canvas width="128" height="256"
style="display: none"
class="gpz-btn"
data-gpz-bind="KeyF">
Expand Down

0 comments on commit 9088f78

Please sign in to comment.