mem_fun (_editor, &PublicEditor::canvas_automation_track_event),
_base_rect, this));
- _base_rect->lower_to_bottom();
+ // _base_rect->lower_to_bottom();
hide_button.add (*(manage (new Gtk::Image (::get_icon("hide")))));
{
bool ret = false;
-
switch (event->type) {
case GDK_BUTTON_PRESS:
case GDK_2BUTTON_PRESS:
case MouseObject:
switch (item_type) {
case AutomationTrackItem:
- atv = dynamic_cast<AutomationTimeAxisView*>(clicked_routeview);
+ atv = dynamic_cast<AutomationTimeAxisView*>(clicked_axisview);
if (atv) {
atv->add_automation_event (item, event, where, event->button.y);
- }
+ }
return true;
break;