Update ghost MIDI regions in automation tracks when zoom changes. Fixes #3803.

git-svn-id: svn://localhost/ardour2/branches/3.0@8985 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-02-28 04:00:38 +00:00
parent 60f48d24f4
commit c75b17e3ba
4 changed files with 73 additions and 3 deletions

View file

@ -409,7 +409,7 @@ class MidiRegionView : public RegionView
ArdourCanvas::CanvasNoteEvent* find_canvas_note (boost::shared_ptr<NoteType>);
Events::iterator _optimization_iterator;
void update_note (ArdourCanvas::CanvasNote*);
void update_note (ArdourCanvas::CanvasNote *, bool update_ghost_regions = true);
double update_hit (ArdourCanvas::CanvasHit *);
void create_ghost_note (double, double);
void update_ghost_note (double, double);