We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c102fa8 commit e8debf9Copy full SHA for e8debf9
src/core/Track.cpp
@@ -2745,11 +2745,6 @@ void TrackView::dropEvent( QDropEvent * de )
2745
*/
2746
void TrackView::mousePressEvent( QMouseEvent * me )
2747
{
2748
- if( me->x()>10 ) // 10 = The width of the grip + 2 pixels to the left and right.
2749
- {
2750
- QWidget::mousePressEvent( me );
2751
- return;
2752
- }
2753
2754
// If previously dragged too small, restore on shift-leftclick
2755
if( height() < DEFAULT_TRACK_HEIGHT &&
@@ -2781,6 +2776,12 @@ void TrackView::mousePressEvent( QMouseEvent * me )
2781
2776
}
2782
2777
else
2783
2778
2779
+ if( me->x()>10 ) // 10 = The width of the grip + 2 pixels to the left and right.
2780
+ {
+ QWidget::mousePressEvent( me );
+ return;
+ }
2784
+
2785
m_action = MoveTrack;
2786
2787
QCursor c( Qt::SizeVerCursor );
0 commit comments