Toggle zoom

This commit is contained in:
Max Lynch
2015-08-31 21:04:47 -05:00
parent 2eb742eee0
commit 089fc7fe99
2 changed files with 17 additions and 10 deletions

View File

@ -31,7 +31,6 @@ export class Gesture {
on(type, cb) {
if(type == 'pinch' || type == 'rotate') {
console.log('Enabling pinch');
this.hammertime.get('pinch').set({enable: true});
}
this.hammertime.on(type, cb);