Start with enabled keybinds

This commit is contained in:
Robert committed 2023-06-11 18:03:18 +02:00
1 parent deaee707f1
commit b6762d074a
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ public static class UI
{
static UI()
{
KeyBindingsEnabled = InputElement.GotFocusEvent.Raised.Select(e => e.Item2.Source is not TextBox);
KeyBindingsEnabled = InputElement.GotFocusEvent.Raised.Select(e => e.Item2.Source is not TextBox).StartWith(true);
}
/// <summary>