Skip to content

Commit

Permalink
Prevent canvas from being selected on iOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-B-Tufvesson committed Dec 31, 2023
1 parent 8611395 commit 2a4facb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions game.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ class VolumeSpaceProgram extends HTMLElement {
<style>
canvas {
user-select: none;
}
.container {
width: 300px;
}
Expand Down

0 comments on commit 2a4facb

Please sign in to comment.