itaditya / trick-or-treat-game

Play it for free here
https://trick-or-treat.netlify.com/
16 stars 17 forks source link

Prevent zooming on double-tap on mobile site #63

Closed acagastya closed 4 years ago

acagastya commented 4 years ago

Rapidly tapping arrow keys on mobile browser zooms the page, which is not necessary, and makes it harder to play.

Can be resolved by

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, user-scalable=0">
itaditya commented 4 years ago

Good Catch!

itaditya commented 4 years ago

To get issue closed automatically when PR merged put this in the commit fixes #64. Instead of fixing #64