Browse Source

Revert "Fix TextBlock wrong caret position (#14627)" (#14952)

This reverts commit cde90ccbca.
pull/14966/head
Benedikt Stebner 3 years ago
committed by GitHub
parent
commit
9e895331e1
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      src/Avalonia.Controls/TextBox.cs

2
src/Avalonia.Controls/TextBox.cs

@ -923,8 +923,6 @@ namespace Avalonia.Controls
} }
else if (change.Property == SelectionEndProperty) else if (change.Property == SelectionEndProperty)
{ {
_presenter?.MoveCaretToTextPosition(CaretIndex);
OnSelectionEndChanged(change); OnSelectionEndChanged(change);
} }
else if (change.Property == MaxLinesProperty) else if (change.Property == MaxLinesProperty)

Loading…
Cancel
Save