mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
automation-range-drag: if lane is empty, use current value for guard points
* in the case where there are no existing automation points, then initiating an automation range drag (select range, switch to Draw) should initialize the line at the current knob position
This commit is contained in:
parent
cd332a2af0
commit
e0f9f11dfc
3 changed files with 19 additions and 6 deletions
|
|
@ -1362,7 +1362,7 @@ private:
|
|||
class AutomationRangeDrag : public Drag
|
||||
{
|
||||
public:
|
||||
AutomationRangeDrag (Editor *, AutomationTimeAxisView *, std::list<ARDOUR::TimelineRange> const &);
|
||||
AutomationRangeDrag (Editor *, AutomationTimeAxisView *, float initial_value, std::list<ARDOUR::TimelineRange> const &);
|
||||
AutomationRangeDrag (Editor *, std::list<RegionView*> const &, std::list<ARDOUR::TimelineRange> const &, double y_origin, double y_height);
|
||||
|
||||
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
|
||||
|
|
@ -1394,6 +1394,7 @@ private:
|
|||
double _y_height;
|
||||
bool _nothing_to_drag;
|
||||
bool _integral;
|
||||
float_t _initial_value;
|
||||
};
|
||||
|
||||
/** Drag of one edge of an xfade
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue