PinCode 去除 OnPreviewKeyDown 里无意义的 TextBox 创建
This commit is contained in:
@@ -161,7 +161,6 @@ public class PinCode : TemplatedControl
|
|||||||
|
|
||||||
protected async void OnPreviewKeyDown(KeyEventArgs e)
|
protected async void OnPreviewKeyDown(KeyEventArgs e)
|
||||||
{
|
{
|
||||||
TextBox b = new TextBox();
|
|
||||||
var pasteKeys = Application.Current?.PlatformSettings?.HotkeyConfiguration.Paste;
|
var pasteKeys = Application.Current?.PlatformSettings?.HotkeyConfiguration.Paste;
|
||||||
if (pasteKeys?.Any(a => a.Matches(e)) == true)
|
if (pasteKeys?.Any(a => a.Matches(e)) == true)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user