mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 12:45:45 +01:00
Comment and (hopefully) simplify Editor::region_drag_motion_callback, fixing problems with dragging regions
to and from tracks in "stacked" display mode. As a side-effect, enable dragging of regions between layers, though I'm not entirely sure where this is useful or desirable just yet; dragging regions between layers currently works in the GUI but has no effect on the model. git-svn-id: svn://localhost/ardour2/branches/3.0@4389 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
780b753639
commit
f2058a3f87
15 changed files with 375 additions and 220 deletions
|
|
@ -2171,8 +2171,22 @@ RouteTimeAxisView::update_rec_display ()
|
|||
void
|
||||
RouteTimeAxisView::set_layer_display (LayerDisplay d)
|
||||
{
|
||||
_view->set_layer_display (d);
|
||||
if (_view) {
|
||||
_view->set_layer_display (d);
|
||||
}
|
||||
}
|
||||
|
||||
LayerDisplay
|
||||
RouteTimeAxisView::layer_display () const
|
||||
{
|
||||
if (_view) {
|
||||
return _view->layer_display ();
|
||||
}
|
||||
|
||||
/* we don't know, since we don't have a _view, so just return something */
|
||||
return Overlaid;
|
||||
}
|
||||
|
||||
|
||||
|
||||
boost::shared_ptr<AutomationTimeAxisView>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue