diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-13 12:36:08 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-13 17:00:30 -0500 |
commit | 236f549caa4eb05550b316a49e7c17bdde6cf00e (patch) | |
tree | 225b5b436f1207a0c7c89db6dd22d65117ff16b3 /gtk2_ardour/editor_routes.cc | |
parent | 83044710626ca6f7ac3fb3f46609166c25f918f6 (diff) |
insanely complex fixes for dragging to and from the drop zone.
This probably breaks some of ardour's functionality (e.g. layered mode), but seems to
be either just right or very close to it for tracks
Conflicts:
gtk2_ardour/editor_routes.cc
Diffstat (limited to 'gtk2_ardour/editor_routes.cc')
-rw-r--r-- | gtk2_ardour/editor_routes.cc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_routes.cc b/gtk2_ardour/editor_routes.cc index c7ad7c54ff..30082adec4 100644 --- a/gtk2_ardour/editor_routes.cc +++ b/gtk2_ardour/editor_routes.cc @@ -515,8 +515,17 @@ EditorRoutes::redisplay_real () continue; } + if (route->is_master()) { + + tv->hide(); // never show master bus + if (_editor->master_bus_ui ()) { + _editor->master_bus_ui ()->set_route (route); + } + continue; + } + bool visible = tv->marked_for_display (); - + /* show or hide the TimeAxisView */ if (visible) { position += tv->show_at (position, n, &_editor->edit_controls_vbox); |