Skip to content

Commit

Permalink
feat: add delay support
Browse files Browse the repository at this point in the history
  • Loading branch information
guidobouman committed May 10, 2018
1 parent dcf6db9 commit 1c87367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panelSnap.js
Expand Up @@ -111,7 +111,7 @@ export default class PanelSnap {

this.stopAnimation();

this.scrollTimeout = setTimeout(this.findSnapTarget.bind(this), 50);
this.scrollTimeout = setTimeout(this.findSnapTarget.bind(this), 50 + this.delay);
}

findSnapTarget() {
Expand Down

0 comments on commit 1c87367

Please sign in to comment.