Browse Source

Allow mouse horizontal scrolling.

BDisp 1 year ago
parent
commit
a686684186
1 changed files with 4 additions and 4 deletions
  1. 4 4
      Terminal.Gui/Core/Event.cs

+ 4 - 4
Terminal.Gui/Core/Event.cs

@@ -753,13 +753,13 @@ namespace Terminal.Gui {
 		/// </summary>
 		/// </summary>
 		WheeledDown = unchecked((int)0x20000000),
 		WheeledDown = unchecked((int)0x20000000),
 		/// <summary>
 		/// <summary>
-		/// Vertical button wheeled up while pressing ButtonShift.
+		/// Vertical button wheeled up while pressing ButtonCtrl.
 		/// </summary>
 		/// </summary>
-		WheeledLeft = ButtonShift | WheeledUp,
+		WheeledLeft = ButtonCtrl | WheeledUp,
 		/// <summary>
 		/// <summary>
-		/// Vertical button wheeled down while pressing ButtonShift.
+		/// Vertical button wheeled down while pressing ButtonCtrl.
 		/// </summary>
 		/// </summary>
-		WheeledRight = ButtonShift | WheeledDown,
+		WheeledRight = ButtonCtrl | WheeledDown,
 		/// <summary>
 		/// <summary>
 		/// Mask that captures all the events.
 		/// Mask that captures all the events.
 		/// </summary>
 		/// </summary>