add earliest_time_limit for Drag class
This commit is contained in:
parent
ac1d5bac0a
commit
fbd6c7eaee
@ -272,6 +272,7 @@ Drag::Drag (Editor* e, ArdourCanvas::Item* i, bool trackview_only)
|
||||
, _raw_grab_sample (0)
|
||||
, _grab_sample (0)
|
||||
, _last_pointer_sample (0)
|
||||
, _earliest_time_limit (0)
|
||||
, _snap_delta (0)
|
||||
, _snap_delta_music (0.0)
|
||||
, _constraint_pressed (false)
|
||||
|
@ -303,6 +303,7 @@ private:
|
||||
ARDOUR::samplepos_t _raw_grab_sample; ///< unsnapped sample that the mouse was at when start_grab was called, or 0
|
||||
ARDOUR::samplepos_t _grab_sample; ///< adjusted_sample that the mouse was at when start_grab was called, or 0
|
||||
ARDOUR::samplepos_t _last_pointer_sample; ///< adjusted_sample the last time a motion occurred
|
||||
ARDOUR::samplepos_t _earliest_time_limit; ///< time we cannot drag before (defaults to 0, indicating no such limit)
|
||||
|
||||
/* difference between some key position's snapped and unsnapped
|
||||
* samplepos. used for relative snap.
|
||||
|
Loading…
Reference in New Issue
Block a user