Fix mouse event position offset bug.
authorDavid Robillard <d@drobilla.net>
Mon, 12 Jan 2015 05:57:10 +0000 (00:57 -0500)
committerDavid Robillard <d@drobilla.net>
Mon, 12 Jan 2015 06:05:01 +0000 (01:05 -0500)
commit55278fb3b087c7aed33235c0619fe710fcd3b154
tree492e40c71e8273579bd8071480d38ce2b141df8c
parente79af77a18c13a304c0c08e52ca337b03ecc0a78
Fix mouse event position offset bug.

Search scroll groups for event delivery from top to bottom rather than bottom
to top.  Overlapping scroll groups still aren't properly supported by the
canvas, but currently all we care about is that the top one gets the event, so
the hscroll group (tempo lines) can be below the hvscroll group (tracks), but
the latter gets events.
libs/canvas/canvas.cc