Skip to content

Commit

Permalink
Mobile support for dragging
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Sofer authored and Dean Sofer committed May 16, 2024
1 parent 3488080 commit 06e33a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
<meta name="viewport" content="width=device-width,user-scalable=no">
<title>Backgammon</title>
<script id="DragDropTouch" src="https://bernardo-castilho.github.io/DragDropTouch/DragDropTouch.js"></script>
</head>

<body>
Expand Down
1 change: 1 addition & 0 deletions src/Game/Game.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
gap: 0;
height: 100%;
flex-wrap: wrap;
touch-action: none;
}

.bar {
Expand Down

0 comments on commit 06e33a9

Please sign in to comment.