Fix some TCOs not saving properly (#5537)

This commit is contained in:
Dominic Clark
2020-06-17 23:05:40 +01:00
committed by GitHub
parent 0528a00cca
commit f56b4963c1

View File

@@ -717,7 +717,7 @@ void TrackContentObjectView::mousePressEvent( QMouseEvent * me )
setInitialMousePos( me->pos() );
if( me->x() < width() - RESIZE_GRIP_WIDTH )
if( m_tco->getAutoResize() || me->x() < width() - RESIZE_GRIP_WIDTH )
{
m_action = Move;
setCursor( Qt::SizeAllCursor );
@@ -738,7 +738,7 @@ void TrackContentObjectView::mousePressEvent( QMouseEvent * me )
MidiTime::ticksPerTact() ) );
s_textFloat->moveGlobal( this, QPoint( width() + 2, height() + 2 ) );
}
else if( !m_tco->getAutoResize() )
else
{
m_action = Resize;
setCursor( Qt::SizeHorCursor );