mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 15:16:25 +01:00
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:
parent
ef3aa2e151
commit
f22d960879
2 changed files with 4 additions and 4 deletions
|
|
@ -52,7 +52,7 @@ Editor::track_canvas_scroll (GdkEventScroll* ev)
|
||||||
double wx, wy;
|
double wx, wy;
|
||||||
|
|
||||||
switch (ev->direction) {
|
switch (ev->direction) {
|
||||||
case GDK_SCROLL_UP:
|
case GDK_SCROLL_DOWN:
|
||||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
|
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
|
||||||
//if (ev->state == GDK_CONTROL_MASK) {
|
//if (ev->state == GDK_CONTROL_MASK) {
|
||||||
/* XXX
|
/* XXX
|
||||||
|
|
@ -88,7 +88,7 @@ Editor::track_canvas_scroll (GdkEventScroll* ev)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case GDK_SCROLL_DOWN:
|
case GDK_SCROLL_UP:
|
||||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
|
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Control)) {
|
||||||
//if (ev->state == GDK_CONTROL_MASK) {
|
//if (ev->state == GDK_CONTROL_MASK) {
|
||||||
track_canvas.get_pointer (x, y);
|
track_canvas.get_pointer (x, y);
|
||||||
|
|
|
||||||
|
|
@ -246,14 +246,14 @@ TimeAxisView::controls_ebox_scroll (GdkEventScroll* ev)
|
||||||
switch (ev->direction) {
|
switch (ev->direction) {
|
||||||
case GDK_SCROLL_UP:
|
case GDK_SCROLL_UP:
|
||||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
|
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
|
||||||
step_height (false);
|
step_height (true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case GDK_SCROLL_DOWN:
|
case GDK_SCROLL_DOWN:
|
||||||
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
|
if (Keyboard::modifier_state_equals (ev->state, Keyboard::Shift)) {
|
||||||
step_height (true);
|
step_height (false);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue