When drawing MIDI regions with grid snap enabled, make the region extent 1 frame...
commit3ec1591958e8708986f169a9b5a421db55ab662d
authorcarlh <carlh@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Wed, 20 Apr 2011 23:50:31 +0000 (20 23:50 +0000)
committercarlh <carlh@d708f5d6-7413-0410-9779-e7cbd77b26cf>
Wed, 20 Apr 2011 23:50:31 +0000 (20 23:50 +0000)
treeee4690f79f20ca2b9a573ca901d95ab7356ad9c5
parent889e90d75032a5938210c0218885bcedaa6e2071
When drawing MIDI regions with grid snap enabled, make the region extent 1 frame shy of the next grid boundary.  In this way, a duplicate of the new region will land on a grid snap point.

git-svn-id: http://subversion.ardour.org/svn/ardour2/ardour2/branches/3.0@9398 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor_drag.cc