position absolute game

This commit is contained in:
ntr
2019-10-08 12:52:22 +11:00
parent 8a41778c9d
commit 9c1f0ba9e9
2 changed files with 33 additions and 11 deletions
+1 -2
View File
@@ -93,8 +93,6 @@ class Instance extends Component {
if (!instance) return setTimeout(this.bindSwipes, 50);
if (this.h) this.h.destroy();
this.h = new Hammer(instance);
const display = ['vbox', 'c0', 'c1', 'c2'];
this.h.on('swiperight', () => {
const {
navInstance,
@@ -111,6 +109,7 @@ class Instance extends Component {
setNavInstance((navInstance + 1) % 4);
});
console.log('hammer gestures bound');
return true;
}
}