From fb0bb5aafab2f240dc07d82ad61ab81af455e92a Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 7 Jan 2026 15:22:11 +0100 Subject: [PATCH] Editor-Summary shift rotates scroll direction #10105 --- gtk2_ardour/editor_summary.cc | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 78e7fb5d6b..97b0f9ec24 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -29,6 +29,7 @@ #include #include "context_menu_helper.h" +#include "gdk.h" #include "streamview.h" #include "editor_summary.h" #include "gui_thread.h" @@ -773,7 +774,22 @@ EditorSummary::on_scroll_event (GdkEventScroll* ev) get_editor (&xr); double x = xr.first; - switch (ev->direction) { + GdkScrollDirection direction = ev->direction; + + if (ev->state & Keyboard::TertiaryModifier) { + switch (ev->direction) { + case GDK_SCROLL_UP: + direction = GDK_SCROLL_LEFT; + break; + case GDK_SCROLL_DOWN: + direction = GDK_SCROLL_RIGHT; + break; + default: + break; + } + } + + switch (direction) { case GDK_SCROLL_UP: { summary_zoom_step (-4);