diff --git a/Source/Engine/UI/GUI/Panels/ScrollBar.cs b/Source/Engine/UI/GUI/Panels/ScrollBar.cs
index f28d7d4cb..d91a88adf 100644
--- a/Source/Engine/UI/GUI/Panels/ScrollBar.cs
+++ b/Source/Engine/UI/GUI/Panels/ScrollBar.cs
@@ -23,7 +23,7 @@ namespace FlaxEngine.GUI
// Scrolling
- private float _clickChange = 20, _scrollChange = 30;
+ private float _clickChange = 20, _scrollChange = 75;
private float _minimum, _maximum = 100;
private float _value, _targetValue;
private readonly Orientation _orientation;
@@ -146,6 +146,24 @@ namespace FlaxEngine.GUI
}
}
+ ///
+ /// Gets or sets the speed for the scroll on mouse wheel.
+ ///
+ public float ScrollSpeedWheel
+ {
+ get => _scrollChange;
+ set => _scrollChange = value;
+ }
+
+ ///
+ /// Gets or sets the speed for the scroll on mouse click.
+ ///
+ public float ScrollSpeedClick
+ {
+ get => _clickChange;
+ set => _clickChange = value;
+ }
+
///
/// Gets the value slow down.
///