change return type from ptr to reference for AutomationTimeAxis::base_item()
This commit is contained in:
parent
94f413c399
commit
6743c09b4a
@ -121,8 +121,8 @@ public:
|
||||
return _parameter;
|
||||
}
|
||||
|
||||
ArdourCanvas::Item* base_item () const {
|
||||
return _base_rect;
|
||||
ArdourCanvas::Rectangle& base_item () const {
|
||||
return *_base_rect;
|
||||
}
|
||||
|
||||
bool has_automation () const;
|
||||
|
@ -6343,7 +6343,7 @@ NoteDrag::aborted (bool)
|
||||
|
||||
/** Make an AutomationRangeDrag for lines in an AutomationTimeAxisView */
|
||||
AutomationRangeDrag::AutomationRangeDrag (Editor* editor, AutomationTimeAxisView* atv, float initial_value, list<TimelineRange> const& r)
|
||||
: Drag (editor, atv->base_item (), editor->default_time_domain ()) /* XXX NUTEMPO FIX TIME DOMAIN */
|
||||
: Drag (editor, &atv->base_item (), editor->default_time_domain ()) /* XXX NUTEMPO FIX TIME DOMAIN */
|
||||
, _ranges (r)
|
||||
, _y_origin (atv->y_position ())
|
||||
, _y_height (atv->effective_height ()) // or atv->lines()->front()->height() ?!
|
||||
|
Loading…
Reference in New Issue
Block a user