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

Commit

Permalink
do not allow previews if tab is being dragged
Browse files Browse the repository at this point in the history
Auditors: @luixxiul
Fix #10103
  • Loading branch information
cezaraugusto committed Sep 14, 2017
1 parent c52fce3 commit 1ae75d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/renderer/components/tabs/tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ class Tab extends React.Component {

onDragStart (e) {
dnd.onDragStart(dragTypes.TAB, this.frame, e)
// cancel tab preview while dragging. see #10103
windowActions.setTabHoverState(this.props.frameKey, false, false)
}

onDragEnd (e) {
Expand Down

0 comments on commit 1ae75d7

Please sign in to comment.