summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_summary.cc
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2011-12-09 15:57:59 +0000
committerCarl Hetherington <carl@carlh.net>2011-12-09 15:57:59 +0000
commit59526d29fd4e82df2fb297b3280d4d11d5a6f28a (patch)
tree640cd2c5b2c3004bc60ab65fc0187eb4ac8972aa /gtk2_ardour/editor_summary.cc
parent2c07e83e4b9f98c88b781c51e712fcb5942c6554 (diff)
Fix scroll-wheel direction in summary.
git-svn-id: svn://localhost/ardour2/branches/3.0@10948 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r--gtk2_ardour/editor_summary.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc
index 54b40ed610..8de492ddec 100644
--- a/gtk2_ardour/editor_summary.cc
+++ b/gtk2_ardour/editor_summary.cc
@@ -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)) {