Show
Ignore:
Timestamp:
11/05/08 14:51:11 (5 years ago)
Author:
wolke
Message:

samples play reverse and pingpong

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/new_fx_rack_and_sample_fun/gui/src/PatternEditor/NotePropertiesRuler.cpp

    r601 r625  
    598598        if ( !pPatternEditor->isUsingTriplets() ) { 
    599599 
    600                 for (uint i = 0; i < MAX_NOTES + 1; i++) { 
     600                for (uint i = 0; i < nNotes +1 ; i++) { 
    601601                        uint x = 20 + i * m_nGridWidth; 
    602602 
     
    637637                int nSize = 4 * MAX_NOTES / (nBase * nResolution); 
    638638 
    639                 for (uint i = 0; i < MAX_NOTES + 1; i++) { 
     639                for (uint i = 0; i < nNotes +1; i++) { 
    640640                        uint x = 20 + i * m_nGridWidth; 
    641641 
     
    753753        if ( !pPatternEditor->isUsingTriplets() ) { 
    754754  
    755                 for (uint i = 0; i < MAX_NOTES + 1; i++) { 
     755                for (uint i = 0; i < nNotes + 1; i++) { 
    756756                        uint x = 20 + i * m_nGridWidth; 
    757757  
     
    792792                int nSize = 4 * MAX_NOTES / (nBase * nResolution); 
    793793  
    794                 for (uint i = 0; i < MAX_NOTES + 1; i++) { 
     794                for (uint i = 0; i < nNotes + 1; i++) { 
    795795                        uint x = 20 + i * m_nGridWidth; 
    796796