From 0eb3b993abe53317f5474021839ac330c73bb907 Mon Sep 17 00:00:00 2001 From: BDisp Date: Fri, 22 Jan 2021 00:23:01 +0000 Subject: [PATCH] Host must deal with the mouse wheel. --- Terminal.Gui/Views/ScrollBarView.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Terminal.Gui/Views/ScrollBarView.cs b/Terminal.Gui/Views/ScrollBarView.cs index 665887997..271e6dcb2 100644 --- a/Terminal.Gui/Views/ScrollBarView.cs +++ b/Terminal.Gui/Views/ScrollBarView.cs @@ -545,7 +545,8 @@ namespace Terminal.Gui { lastLocation = -1; Application.UngrabMouse (); return true; - } else if (showScrollIndicator && (me.Flags == MouseFlags.WheeledDown || me.Flags == MouseFlags.WheeledUp || + } + if (showScrollIndicator && (me.Flags == MouseFlags.WheeledDown || me.Flags == MouseFlags.WheeledUp || me.Flags == MouseFlags.WheeledRight || me.Flags == MouseFlags.WheeledLeft)) { return Host.MouseEvent (me); }