Skip to content

Commit

Permalink
fix: Add back adding item by doubletap (#1081)
Browse files Browse the repository at this point in the history
* Bugfix: wrong instance member name.

* Doubletap gesture to add item restored.

Co-authored-by: Benoi虃t Pin <[email protected]>
  • Loading branch information
pinbe and Benoi虃t Pin committed Jun 5, 2021
1 parent 0c623cc commit eb05721
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/component/ItemSet.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ class ItemSet extends Component {
this.hammer.get('press').set({time:10000});

// add item on doubletap
//this.hammer.on('doubletap', this._onAddItem.bind(this));
this.hammer.on('doubletap', this._onAddItem.bind(this));

if (this.options.rtl) {
this.groupHammer = new Hammer(this.body.dom.rightContainer);
Expand Down

0 comments on commit eb05721

Please sign in to comment.