diff options
author | Tim E. Real <termtech@rogers.com> | 2011-05-08 07:14:32 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-05-08 07:14:32 +0000 |
commit | 27cc37410cf3d0994f105fbadf135e6a43a440eb (patch) | |
tree | 130b9bc4de2946cd1d86c67d46c0cfe866e35af9 /muse2 | |
parent | 498d1258372f29f717b538191bba7c2812e787c0 (diff) |
Draw event canvas notes if they extend past part end.
Diffstat (limited to 'muse2')
-rw-r--r-- | muse2/ChangeLog | 2 | ||||
-rw-r--r-- | muse2/muse/midiedit/ecanvas.cpp | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 154cdff7..ab11a07b 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,5 @@ +08.05.2011: + - Draw event canvas notes if they extend past part end. (Tim) 06.05.2011: - MusE 2.0beta2 released (rj) - Added Yamaha-CS1x.idf instrument from Ernie Rymer <ethylene77 A T yahoo D O T com> Thanks! (Tim) diff --git a/muse2/muse/midiedit/ecanvas.cpp b/muse2/muse/midiedit/ecanvas.cpp index 388fb962..7a421411 100644 --- a/muse2/muse/midiedit/ecanvas.cpp +++ b/muse2/muse/midiedit/ecanvas.cpp @@ -170,8 +170,9 @@ void EventCanvas::songChanged(int flags) for (iEvent i = el->begin(); i != el->end(); ++i) { Event e = i->second; // Added by T356. Do not add events which are either past, or extend past the end of the part. - //if(e.tick() > len) - if(e.endTick() > len) + // Reverted to just events which are past. p4.0.24 + if(e.tick() > len) + //if(e.endTick() > len) break; if (e.isNote()) { |