13
0

carl's inverted fix for mousewheel actions

git-svn-id: svn://localhost/ardour2/trunk@1578 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-03-12 21:16:28 +00:00
parent ef3aa2e151
commit f22d960879
2 changed files with 4 additions and 4 deletions

View File

@ -52,7 +52,7 @@ Editor::track_canvas_scroll (GdkEventScroll* ev)
double wx, wy;
switch (ev->direction) {
case GDK_SCROLL_UP:
case GDK_SCROLL_DOWN:
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
//if (ev->state == GDK_CONTROL_MASK) {
/* XXX
@ -88,7 +88,7 @@ Editor::track_canvas_scroll (GdkEventScroll* ev)
return true;
}
break;
case GDK_SCROLL_DOWN:
case GDK_SCROLL_UP:
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
//if (ev->state == GDK_CONTROL_MASK) {
track_canvas.get_pointer (x, y);

View File

@ -246,14 +246,14 @@ TimeAxisView::controls_ebox_scroll (GdkEventScroll* ev)
switch (ev->direction) {
case GDK_SCROLL_UP:
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
step_height (false);
step_height (true);
return true;
}
break;
case GDK_SCROLL_DOWN:
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
step_height (true);
step_height (false);
return true;
}
break;