double click to expand / contract the track
This commit is contained in:
committed by
Robin Gareus
parent
f89ef872dd
commit
4e6a15938c
@@ -426,6 +426,14 @@ TimeAxisView::controls_ebox_button_press (GdkEventButton* event)
|
||||
|
||||
}
|
||||
|
||||
if (event->button == 1 && event->type == GDK_2BUTTON_PRESS) {
|
||||
if (_effective_height < preset_height (HeightLargest)) {
|
||||
set_height_enum (HeightLargest);
|
||||
} else {
|
||||
set_height_enum (HeightNormal);
|
||||
}
|
||||
}
|
||||
|
||||
_ebox_release_can_act = true;
|
||||
|
||||
if (maybe_set_cursor (event->y) > 0) {
|
||||
|
||||
Reference in New Issue
Block a user