summaryrefslogtreecommitdiff
path: root/gtk2_ardour/note.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/note.cc')
-rw-r--r--gtk2_ardour/note.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/note.cc b/gtk2_ardour/note.cc
index dc8decf837..ddfb11fe8e 100644
--- a/gtk2_ardour/note.cc
+++ b/gtk2_ardour/note.cc
@@ -33,7 +33,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::Rectangle (parent))
+ , _rectangle (new ArdourCanvas::TimeRectangle (parent))
{
CANVAS_DEBUG_NAME (_rectangle, "note");
set_item (_rectangle);