Drag/Drop work-around midi note bleeding
authorRobin Gareus <robin@gareus.org>
Sat, 28 Mar 2015 17:00:31 +0000 (18:00 +0100)
committerRobin Gareus <robin@gareus.org>
Sat, 28 Mar 2015 17:22:37 +0000 (18:22 +0100)
commit74b3d0b6024ee49f9476f6d6d314ca87f2729aea
treef1e6adebec46920e25b4dc4bba1b585a08c49b4f
parent8962bfba619626bc1aa0a289e63d24576d428eeb
Drag/Drop work-around midi note bleeding

During DnD, the region uses the 'old/current'
midi_stream_view()'s range and its position/height calculation.

Ideally DnD would decouple the midi_stream_view() for the
region(s) being dragged and set it to the target's range
(or in case of the drop-zone, FullRange).
but I don't see how this can be done without major rework.

For now, just prevent visual bleeding of events in case
the target-track is smaller.
gtk2_ardour/midi_region_view.cc