Procházet zdrojové kódy

Allow mouse horizontal scrolling.

BDisp před 1 rokem
rodič
revize
a686684186
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4 4
      Terminal.Gui/Core/Event.cs

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

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