diff --git a/Source/Engine/UI/GUI/Common/TextBoxBase.cs b/Source/Engine/UI/GUI/Common/TextBoxBase.cs index 50b5b0945..340459c8f 100644 --- a/Source/Engine/UI/GUI/Common/TextBoxBase.cs +++ b/Source/Engine/UI/GUI/Common/TextBoxBase.cs @@ -230,9 +230,9 @@ namespace FlaxEngine.GUI public bool ClipText { get; set; } = true; /// - /// Gets or sets a value indicating whether you can scroll the text in the text box + /// Gets or sets a value indicating whether you can scroll the text in the text box (eg. with a mouse wheel). /// - public bool CanScrollMultilineText { get; set; } = true; + public bool IsMultilineScrollable { get; set; } = true; /// /// Gets or sets textbox background color when the control is selected (has focus). @@ -1162,7 +1162,7 @@ namespace FlaxEngine.GUI return true; // Multiline scroll - if (IsMultiline && _text.Length != 0 && CanScrollMultilineText) + if (IsMultiline && _text.Length != 0 && IsMultilineScrollable) { TargetViewOffset = Float2.Clamp(_targetViewOffset - new Float2(0, delta * 10.0f), Float2.Zero, new Float2(_targetViewOffset.X, _textSize.Y)); return true;