vibrate when flagged
This commit is contained in:
parent
1169af44c4
commit
20f1347127
1 changed files with 3 additions and 0 deletions
|
@ -748,6 +748,9 @@ export const Minesweeper = function() {
|
||||||
increaseFlagsCount();
|
increaseFlagsCount();
|
||||||
setStatus(cell, 'default');
|
setStatus(cell, 'default');
|
||||||
}
|
}
|
||||||
|
if ('vibrate' in navigator) {
|
||||||
|
navigator.vibrate(100);
|
||||||
|
}
|
||||||
if (TEST_MODE) loggerService.debug('right click', cell);
|
if (TEST_MODE) loggerService.debug('right click', cell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue