add GUI for midi-device settings (and properly indent the code)
[ardour.git] / gtk2_ardour / ghostregion.cc
index 5350a0e4597f4b3c58648a8f6514a1735f9df0d3..da2beeeca7069f378e4c519afb732d1c84fafaa6 100644 (file)
@@ -43,15 +43,15 @@ GhostRegion::GhostRegion (ArdourCanvas::Group* parent, TimeAxisView& tv, TimeAxi
        , source_trackview (source_tv)
 {
        group = new ArdourCanvas::Group (parent);
-       CANVAS_DEBUG_NAME (group, "ghost region group");
+       CANVAS_DEBUG_NAME (group, "ghost region");
        group->set_position (ArdourCanvas::Duple (initial_pos, 0));
 
        base_rect = new ArdourCanvas::Rectangle (group);
        CANVAS_DEBUG_NAME (base_rect, "ghost region rect");
        base_rect->set_x0 (0);
-       base_rect->set_y0 (0);
-       base_rect->set_y1 (trackview.current_height());
-       base_rect->set_outline_what (0);
+       base_rect->set_y0 (0.0);
+       base_rect->set_y1 (trackview.current_height() - 1.0);
+       base_rect->set_outline_what (ArdourCanvas::Rectangle::What (0));
 
        if (!is_automation_ghost()) {
                base_rect->hide();