Drag/Drop work-around midi note bleeding
authorRobin Gareus <robin@gareus.org>
Sat, 28 Mar 2015 17:00:31 +0000 (18:00 +0100)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 30 Mar 2015 14:19:00 +0000 (09:19 -0500)
commit2a7cf7455a805522b9bef93f7f9ebb0e7f3ef7e5
tree536e2b99187adba3a4dacc73f40eac1f5224508f
parent7f187d416913e8646a89e4fd73dc5d92a83ea421
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