PianoRoll: respect stacking order of notes
commit8ebdee61f60ef5828d2562b5f4d502dc43c87049
authorTobias Doerffel <tobias.doerffel@gmail.com>
Tue, 24 Aug 2010 16:42:49 +0000 (24 18:42 +0200)
committerTobias Doerffel <tobias.doerffel@gmail.com>
Tue, 24 Aug 2010 16:47:39 +0000 (24 18:47 +0200)
treedd990c78e2cc03336e9d2e2d05c9345267144517
parent92889986863af82f8d2eaf2d93393233fed182f9
PianoRoll: respect stacking order of notes

Notes are always drawn on-top of each other starting from the left
to the right. However the behaviour when clicking notes was reverse,
which made it quite hard to edit notes sometimes. Now the top most
note is edited/selected/moved/resized if notes overlay.

Closes #2808603.
(cherry picked from comit 28eb7e00bf654c9f0e193e4c7244f18fbe50bd46)
src/gui/piano_roll.cpp