mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
do not show region trim handles unless in (effective) object mouse mode
This commit is contained in:
parent
6605b2a542
commit
0c9120de8f
1 changed files with 11 additions and 9 deletions
|
|
@ -931,15 +931,17 @@ 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)
|
||||||
{
|
{
|
||||||
switch (ev->type) {
|
if (trackview.editor().effective_mouse_mode() == Editing::MouseObject) {
|
||||||
case GDK_LEAVE_NOTIFY:
|
switch (ev->type) {
|
||||||
item->set_fill (false);
|
case GDK_LEAVE_NOTIFY:
|
||||||
break;
|
item->set_fill (false);
|
||||||
case GDK_ENTER_NOTIFY:
|
break;
|
||||||
item->set_fill (true);
|
case GDK_ENTER_NOTIFY:
|
||||||
break;
|
item->set_fill (true);
|
||||||
default:
|
break;
|
||||||
break;
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue