Clam points to valid values on drag end.
authorDavid Robillard <d@drobilla.net>
Thu, 26 Mar 2015 17:22:57 +0000 (13:22 -0400)
committerDavid Robillard <d@drobilla.net>
Thu, 26 Mar 2015 17:22:57 +0000 (13:22 -0400)
commit5c11e43f083ca6a184000ff61274a99ddf5f57c4
tree376437a11a3681611c0d0cf1310736d16e937e30
parent3b38d7d8a614f73f61bbed65356ba6c158d54970
Clam points to valid values on drag end.

Fixes bug #6214.

It would be better to do this while dragging, but this would require rewriting
much of the drag code to keep track of a cumulative y delta since the current
position of points would be "sticky" and prevent any movement at all, so this
will have to do for now.
gtk2_ardour/automation_line.cc
gtk2_ardour/automation_line.h