mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Relative snap - support magnetic mode (hackishly for now)
This commit is contained in:
parent
bbafb8f137
commit
91a34c596d
9 changed files with 92 additions and 11 deletions
|
|
@ -217,7 +217,7 @@ protected:
|
|||
return _last_pointer_frame;
|
||||
}
|
||||
|
||||
framecnt_t snap_delta () const {
|
||||
ARDOUR::frameoffset_t snap_delta () const {
|
||||
return _snap_delta;
|
||||
}
|
||||
|
||||
|
|
@ -259,7 +259,7 @@ private:
|
|||
/* difference between some key position's snapped and unsnapped
|
||||
* framepos. used for relative snap.
|
||||
*/
|
||||
framecnt_t _snap_delta;
|
||||
ARDOUR::frameoffset_t _snap_delta;
|
||||
CursorContext::Handle _cursor_ctx; ///< cursor change context
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue