diff --git a/src/Avalonia.Controls/Primitives/TextSelectionCanvas.cs b/src/Avalonia.Controls/Primitives/TextSelectionCanvas.cs index 89897e0ee4..fd8ff1ce86 100644 --- a/src/Avalonia.Controls/Primitives/TextSelectionCanvas.cs +++ b/src/Avalonia.Controls/Primitives/TextSelectionCanvas.cs @@ -384,7 +384,7 @@ namespace Avalonia.Controls.Primitives s_isInTouchMode = e.Pointer.Type != PointerType.Mouse; } - private void PresenterFocused(object? sender, GotFocusEventArgs e) + private void PresenterFocused(object? sender, FocusChangedEventArgs e) { if (_presenter != null && _presenter.SelectionStart != _presenter.SelectionEnd) {