move VCA assignment up to Route level
[ardour.git] / gtk2_ardour / note.cc
index ddfb11fe8ebe1015c3e370ec2b1c6c19bab7fde4..ea12712e4a313e55fe408e8c5ebdf0ebca65c5c1 100644 (file)
@@ -24,7 +24,6 @@
 #include "canvas/debug.h"
 
 #include "note.h"
-#include "midi_region_view.h"
 #include "public_editor.h"
 
 using namespace ARDOUR;
@@ -33,7 +32,7 @@ using namespace ArdourCanvas;
 Note::Note (
        MidiRegionView& region, Item* parent, const boost::shared_ptr<NoteType> note, bool with_events)
        : NoteBase (region, with_events, note)
-       , _rectangle (new ArdourCanvas::TimeRectangle (parent))
+       , _rectangle (new ArdourCanvas::Rectangle (parent))
 {
        CANVAS_DEBUG_NAME (_rectangle, "note");
        set_item (_rectangle);