Fix scroll-wheel direction in summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@10948 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2c07e83e4b
commit
59526d29fd
|
@ -591,9 +591,9 @@ EditorSummary::on_scroll_event (GdkEventScroll* ev)
|
|||
/* secondary-wheel == left-right scrolling */
|
||||
|
||||
if (ev->direction == GDK_SCROLL_UP) {
|
||||
x += amount;
|
||||
} else if (ev->direction == GDK_SCROLL_DOWN) {
|
||||
x -= amount;
|
||||
} else if (ev->direction == GDK_SCROLL_DOWN) {
|
||||
x += amount;
|
||||
}
|
||||
|
||||
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user