Fix right-click accidentally triggering chording
This commit is contained in:
parent
0c47e03a83
commit
38032255b0
Binary file not shown.
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "minesweeper",
|
"name": "minesweeper",
|
||||||
"version": "0.86.4",
|
"version": "0.86.5",
|
||||||
"description": "Just Minesweeper!",
|
"description": "Just Minesweeper!",
|
||||||
"author": "Florine W. Dekker",
|
"author": "Florine W. Dekker",
|
||||||
"browser": "dist/bundle.js",
|
"browser": "dist/bundle.js",
|
||||||
|
|
|
@ -384,7 +384,7 @@ export class Game {
|
||||||
case 2:
|
case 2:
|
||||||
if (!this.rightDown) break;
|
if (!this.rightDown) break;
|
||||||
|
|
||||||
if (!this.bothHeld && !this.leftDown)
|
if (this.bothHeld && !this.leftDown)
|
||||||
this.field.chord(coords);
|
this.field.chord(coords);
|
||||||
|
|
||||||
this.rightDown = false;
|
this.rightDown = false;
|
||||||
|
|
Loading…
Reference in New Issue