Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Add tab preview timer for non-previewmode. Closes #1434
Browse files Browse the repository at this point in the history
Add tab-preview timer for non-previewmode. Closes #1434
  • Loading branch information
cezaraugusto committed Jul 25, 2016
1 parent a943ba1 commit 0d6917d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/components/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class Tab extends ImmutableComponent {
const previewMode = new Date().getTime() - this.lastPreviewClearTime < 1500
window.clearTimeout(this.hoverClearTimeout)
this.hoverTimeout =
window.setTimeout(windowActions.setPreviewFrame.bind(null, this.props.frameProps), previewMode ? 0 : 400)
window.setTimeout(windowActions.setPreviewFrame.bind(null, this.props.frameProps), previewMode ? 200 : 400)
}

onClickTab (e) {
Expand Down

0 comments on commit 0d6917d

Please sign in to comment.