When drawing MIDI regions with grid snap enabled, make the region extent 1 frame...
authorCarl Hetherington <carl@carlh.net>
Wed, 20 Apr 2011 23:50:31 +0000 (23:50 +0000)
committerCarl Hetherington <carl@carlh.net>
Wed, 20 Apr 2011 23:50:31 +0000 (23:50 +0000)
commit884de065bdbb2af770c4a877a86d3c2d9340336e
treeee4690f79f20ca2b9a573ca901d95ab7356ad9c5
parent8fc896a24d9d9f01dd447ef65f31777ab7c4a34a
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: svn://localhost/ardour2/branches/3.0@9398 d708f5d6-7413-0410-9779-e7cbd77b26cf
gtk2_ardour/editor_drag.cc