mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Mini-timeline: honor left/right scroll
This commit is contained in:
parent
45eff0fa9f
commit
f3ac0929aa
1 changed files with 2 additions and 0 deletions
|
|
@ -671,9 +671,11 @@ MiniTimeline::on_scroll_event (GdkEventScroll *ev)
|
|||
|
||||
switch (ev->direction) {
|
||||
case GDK_SCROLL_UP:
|
||||
case GDK_SCROLL_RIGHT:
|
||||
when += scale * _session->nominal_frame_rate ();
|
||||
break;
|
||||
case GDK_SCROLL_DOWN:
|
||||
case GDK_SCROLL_LEFT:
|
||||
when -= scale * _session->nominal_frame_rate ();
|
||||
break;
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue