Skip to content

Commit

Permalink
Merge pull request #453 from bubuzzz/feature/double-click-to-rename-tab
Browse files Browse the repository at this point in the history
double click on tab to rename
  • Loading branch information
sota1235 authored Apr 22, 2017
2 parents eea8f7c + fded0ad commit 9027f48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions browser/components/SnippetTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ class SnippetTab extends React.Component {
{!this.state.isRenaming
? <button styleName='button'
onClick={(e) => this.handleClick(e)}
onDoubleClick={(e) => this.handleRenameClick(e)}
onContextMenu={(e) => this.handleContextMenu(e)}
>
{snippet.name.trim().length > 0
Expand Down

0 comments on commit 9027f48

Please sign in to comment.