Improve menu control via ESC and fix display error

This commit is contained in:
Marcel
2018-01-25 20:54:13 +01:00
parent 85bd2470a7
commit eb95653ba1
3 changed files with 27 additions and 18 deletions

View File

@@ -8,6 +8,10 @@ hammertime.on('swiperight', (e) => {
keys.right.action();
});
hammertime.on('swipeup', () => {
keys.holdTile.action();
});
hammertime.on('pandown swipedown', (e) => {
keys.down.action();
});