13
0

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:
Carl Hetherington 2011-12-09 15:57:59 +00:00
parent 2c07e83e4b
commit 59526d29fd

View File

@ -591,9 +591,9 @@ EditorSummary::on_scroll_event (GdkEventScroll* ev)
/* secondary-wheel == left-right scrolling */ /* secondary-wheel == left-right scrolling */
if (ev->direction == GDK_SCROLL_UP) { if (ev->direction == GDK_SCROLL_UP) {
x += amount;
} else if (ev->direction == GDK_SCROLL_DOWN) {
x -= amount; x -= amount;
} else if (ev->direction == GDK_SCROLL_DOWN) {
x += amount;
} }
} else if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) { } else if (Keyboard::modifier_state_equals (ev->state, Keyboard::PrimaryModifier)) {