when setting a new note, set panning and volume to that of last clicked on note

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1929 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Andrew Kelley
2008-12-15 05:11:40 +00:00
parent ecfb18d551
commit 7a8f95985a
4 changed files with 26 additions and 4 deletions

View File

@@ -273,7 +273,11 @@ private:
int m_ppt;
int m_totalKeysToScroll;
// remember these values to use them
// for the next note that is set
midiTime m_lenOfNewNotes;
volume m_lastNoteVolume;
panning m_lastNotePanning;
int m_startKey; // first key when drawing
int m_lastKey;