Skip to content

Commit

Permalink
Bugfix: wrong instance member name. (visjs#1066)
Browse files Browse the repository at this point in the history
Co-authored-by: Benoît Pin <[email protected]>
  • Loading branch information
pinbe and Benoît Pin authored May 14, 2021
1 parent e396376 commit 3cacdff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timeline/component/item/Item.js
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ class Item {
this.hammerDragCenter.on('panmove', me.parent.itemSet._onDrag.bind(me.parent.itemSet));
this.hammerDragCenter.on('panend', me.parent.itemSet._onDragEnd.bind(me.parent.itemSet));
// delay addition on item click for trackpads...
this.hammer.get('press').set({time:10000});
this.hammerDragCenter.get('press').set({time:10000});

if (this.dom.box) {
if (this.dom.dragLeft) {
Expand Down

0 comments on commit 3cacdff

Please sign in to comment.