-
- if (visibility & ShowHandles) {
- frame_handle_start = new Gnome::Canvas::SimpleRect (*group);
- frame_handle_start->set_property ("x1", (double) 0.0);
- frame_handle_start->set_property ("x2", (double) TimeAxisViewItem::GRAB_HANDLE_LENGTH);
- frame_handle_start->set_property ("y1", (double) 1.0);
- frame_handle_start->set_property ("y2", (double) TimeAxisViewItem::GRAB_HANDLE_LENGTH+1);
- frame_handle_start->set_property ("outline_color_rgba", color_map[cFrameHandleStartOutline]);
- frame_handle_start->set_property ("fill_color_rgba", color_map[cFrameHandleStartFill]);
-
- frame_handle_end = new Gnome::Canvas::SimpleRect (*group);
- frame_handle_end->set_property ("x1", (double) (trackview.editor.frame_to_pixel(get_duration())) - (TimeAxisViewItem::GRAB_HANDLE_LENGTH));
- frame_handle_end->set_property ("x2", (double) trackview.editor.frame_to_pixel(get_duration()));
- frame_handle_end->set_property ("y1", (double) 1);
- frame_handle_end->set_property ("y2", (double) TimeAxisViewItem::GRAB_HANDLE_LENGTH + 1);
- frame_handle_end->set_property ("outline_color_rgba", color_map[cFrameHandleEndOutline]);
- frame_handle_end->set_property ("fill_color_rgba", color_map[cFrameHandleEndFill]);
-
+ if (!_recregion) {
+ frame_handle_start = new ArdourCanvas::SimpleRect (*group, 0.0, TimeAxisViewItem::GRAB_HANDLE_LENGTH, 5.0, trackview.current_height());
+ frame_handle_start->property_outline_what() = 0x0;
+ frame_handle_end = new ArdourCanvas::SimpleRect (*group, 0.0, TimeAxisViewItem::GRAB_HANDLE_LENGTH, 5.0, trackview.current_height());
+ frame_handle_end->property_outline_what() = 0x0;