Skip to content

Commit

Permalink
Reduce press time wait for hammer (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
billy-addepar authored Jan 3, 2018
1 parent 8e2a7bd commit 1d5b24b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addon/components/ember-table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class EmberTableHeader extends EmberTableBaseCell {

let hammer = new Hammer(this.element);

hammer.add(new Hammer.Press({ time: 10 }));
hammer.add(new Hammer.Press({ time: 0 }));

hammer.on('press', (ev) => {
let box = this.element.getBoundingClientRect();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"ember-cli-eslint": "^4.0.0",
"ember-cli-htmlbars-inline-precompile": "^1.0.2",
"ember-cli-inject-live-reload": "^1.4.1",
"ember-cli-qunit": "4.0.0",
"ember-cli-qunit": "^4.0.0",
"ember-cli-shims": "^1.1.0",
"ember-cli-sri": "^2.1.0",
"ember-cli-uglify": "^2.0.0",
Expand Down

0 comments on commit 1d5b24b

Please sign in to comment.