Add skipping textbox scrolling if it has no selection
This commit is contained in:
@@ -539,6 +539,12 @@ namespace FlaxEngine.GUI
|
||||
return;
|
||||
}
|
||||
|
||||
// If it's not selected
|
||||
if (_selectionStart == -1 && _selectionEnd == -1)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Rectangle caretBounds = CaretBounds;
|
||||
Rectangle textArea = TextRectangle;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user