Graph cursor and new piano roll paste.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1529 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -2584,7 +2584,7 @@ void pianoRoll::pasteNotes( void )
|
||||
{
|
||||
note cur_note;
|
||||
cur_note.restoreState( list.item( i ).toElement() );
|
||||
cur_note.setPos( cur_note.pos() + m_currentPosition );
|
||||
cur_note.setPos( cur_note.pos() + m_timeLine->pos() );
|
||||
m_pattern->addNote( cur_note );
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ graph::graph( QWidget * _parent, graphStyle _style ) :
|
||||
|
||||
resize( 132, 104 );
|
||||
setAcceptDrops( TRUE );
|
||||
setCursor( Qt::CrossCursor );
|
||||
|
||||
graphModel * gModel = castModel<graphModel>();
|
||||
|
||||
@@ -205,7 +206,7 @@ void graph::mouseReleaseEvent( QMouseEvent * _me )
|
||||
{
|
||||
// toggle mouse state
|
||||
m_mouseDown = false;
|
||||
setCursor( Qt::ArrowCursor );
|
||||
setCursor( Qt::CrossCursor );
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user