position absolute game
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user