Prevent note trim to zero length (shown as stuck).
authorDavid Robillard <d@drobilla.net>
Fri, 9 Jan 2015 00:13:00 +0000 (19:13 -0500)
committerDavid Robillard <d@drobilla.net>
Fri, 9 Jan 2015 00:13:00 +0000 (19:13 -0500)
commit57947ff5a82c55b02b4254ef4f6e65d9e8d3fd95
treecb937d35bce706bef29892b69bf419cd59ae4450
parent3f34f0a0a4a758b89f511725e198c4ad6daca293
Prevent note trim to zero length (shown as stuck).

The reasonable value 1 tick doesn't seem to work here, presumably it gets lost
in rounding conversion somewhere.  Instead use a really small power of two
reciprocal.  Once we use actual beats and ticks we can fix this to be a minimum
of one tick (the actual minimum length for a note).
gtk2_ardour/midi_region_view.cc