Browse Source

Cancel TextBox selection on cursor movement.

pull/10/head
Steven Kirk 12 years ago
parent
commit
645094ccec
  1. 2
      Perspex.Controls/TextBox.cs

2
Perspex.Controls/TextBox.cs

@ -348,7 +348,7 @@ namespace Perspex.Controls
{
this.SelectionEnd = this.CaretIndex;
}
else if (textEntered)
else if (movement || textEntered)
{
this.SelectionStart = this.SelectionEnd = this.CaretIndex;
}

Loading…
Cancel
Save