piano roll fix and configure flags

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@427 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-11-11 22:42:59 +00:00
parent ba20593377
commit 2a4867e0f9
3 changed files with 21 additions and 12 deletions

View File

@@ -2230,9 +2230,10 @@ void pianoRoll::recordNote( const note & _n )
{
if( m_recording == TRUE && validPattern() == TRUE )
{
note n( _n );
n.setPos( eng()->getSongEditor()->getPlayPos(
songEditor::PLAY_PATTERN ) - n.length() );
note n( eng(), _n.length(), eng()->getSongEditor()->getPlayPos(
songEditor::PLAY_PATTERN ) - _n.length(),
_n.tone(), _n.octave(),
_n.getVolume(), _n.getPanning() );
n.quantizeLength( quantization() );
#ifndef QT4
qApp->lock();