do not show region trim handles unless in (effective) object mouse mode

This commit is contained in:
Paul Davis 2014-03-05 14:33:27 -05:00
parent 6605b2a542
commit 0c9120de8f

View file

@ -931,6 +931,7 @@ TimeAxisViewItem::set_trim_handle_colors()
bool bool
TimeAxisViewItem::frame_handle_crossing (GdkEvent* ev, ArdourCanvas::Rectangle* item) TimeAxisViewItem::frame_handle_crossing (GdkEvent* ev, ArdourCanvas::Rectangle* item)
{ {
if (trackview.editor().effective_mouse_mode() == Editing::MouseObject) {
switch (ev->type) { switch (ev->type) {
case GDK_LEAVE_NOTIFY: case GDK_LEAVE_NOTIFY:
item->set_fill (false); item->set_fill (false);
@ -941,6 +942,7 @@ TimeAxisViewItem::frame_handle_crossing (GdkEvent* ev, ArdourCanvas::Rectangle*
default: default:
break; break;
} }
}
return false; return false;
} }