Fix wonky note length when create-dragging notes backwards.
authorDavid Robillard <d@drobilla.net>
Fri, 14 Nov 2014 05:33:05 +0000 (00:33 -0500)
committerDavid Robillard <d@drobilla.net>
Fri, 14 Nov 2014 05:33:05 +0000 (00:33 -0500)
commit14e53b89c7444dd9d0ce44c8c7e4d390005297a6
tree97e5915e1e6543463978ec94a5bd5db055ae67b6
parent3b23aed5e177959a331bf282a2107c71211a0946
Fix wonky note length when create-dragging notes backwards.

Specifically, when pivoting from forwards to backwards (around the drag start
point), the note length was too long.  Setting both the start and end x
coordinates of the rect every time to the right value does the right thing.
gtk2_ardour/editor_drag.cc