Skip to content

Commit

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

0 comments on commit c856eab

Please sign in to comment.