Skip to content

Commit

Permalink
Shift right click support
Browse files Browse the repository at this point in the history
Closes #94 #104
  • Loading branch information
mastef committed Jun 22, 2020
1 parent 8cf0363 commit d114d15
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/Window.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class Window extends React.Component {
this.save = this.save.bind(this);
this.stop = this.stop.bind(this);
this.windowClick = this.windowClick.bind(this);
this.selectToFromTab = this.selectToFromTab.bind(this);
}

render() {
Expand Down Expand Up @@ -79,7 +80,7 @@ class Window extends React.Component {
hoverHandler={_this.props.hoverHandler}
searchActive={_this.props.searchActive}
select={_this.props.select}
selectTo={_this.selectTo}
selectTo={_this.selectToFromTab}
drag={_this.props.drag}
drop={_this.props.drop}
dropWindow={_this.props.dropWindow}
Expand Down Expand Up @@ -482,7 +483,7 @@ class Window extends React.Component {
if (!!window.inPopup) window.close();
return false;
}
selectTo(tabId) {
selectToFromTab(tabId) {
if(tabId) this.props.selectTo(tabId, this.props.tabs);
}
close(e) {
Expand Down

0 comments on commit d114d15

Please sign in to comment.