Skip to content

Commit

Permalink
Precise InputTime
Browse files Browse the repository at this point in the history
  • Loading branch information
Damien LEROY committed Aug 25, 2022
1 parent 2f24233 commit 0071dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerAccent.Core/PowerAccent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ private bool PowerAccent_KeyDown(object sender, KeyboardListener.RawKeyEventArgs
{
_visible = true;
_characters = WindowsFunctions.IsCapitalState() ? ToUpper(_settingService.GetLetterKey(letterPressed.Value)) : _settingService.GetLetterKey(letterPressed.Value);
Task.Delay(200).ContinueWith(t =>
Task.Delay(_settingService.InputTime).ContinueWith(t =>
{
if (_visible)
OnChangeDisplay?.Invoke(true, _characters);
Expand Down

0 comments on commit 0071dc9

Please sign in to comment.