feat: add dot/decimal support.
This commit is contained in:
@@ -154,7 +154,7 @@ public class IPv4Box: TemplatedControl
|
|||||||
_currentActivePresenter.SelectionEnd = _currentActivePresenter.Text?.Length ?? 0;
|
_currentActivePresenter.SelectionEnd = _currentActivePresenter.Text?.Length ?? 0;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (e.Key == Key.Tab)
|
if (e.Key == Key.Tab || e.Key == Key.OemPeriod || e.Key == Key.Decimal)
|
||||||
{
|
{
|
||||||
_currentActivePresenter?.HideCaret();
|
_currentActivePresenter?.HideCaret();
|
||||||
ClearSelection(_currentActivePresenter);
|
ClearSelection(_currentActivePresenter);
|
||||||
|
|||||||
Reference in New Issue
Block a user