Discussion:
[non] Timeline key to "suspend" region snap
Richard
2017-07-11 16:57:55 UTC
Permalink
For all happy hackers on the list,
and for Jonathan should he care to adopt the change...

There is an undocumented key which can be used while moving regions around on the timeline which temporarily disables snapping to bar or beat. Unfortunately the key is "s" which appears to be already assigned for splitting a region at the mouse pointer.

The code which handles this in Timeline.C is in the Timeline::handle method and you can change only one character in two places to restore temporary free movement manipulation. The two lines are in
case FL_KEYDOWN
and
case FL_KEYUP

The line in question is the same for each CASE:

else if ( Fl::event_key() == 's' )

I changed the =='s' to =='f'.

The 'f' key appears to be unused by non-timeline and can be readily remembered as the "free" key for freeing you from SNAP constraints.

As they say in all the worst reports; it works for me :~)
--
Richard <***@ntlworld.com>
Loading...