Skip to content

Commit

Permalink
resolves Phaiax#96 fixed issue on keystroke display in "Shortcut mode…
Browse files Browse the repository at this point in the history
… (no letters and no shift)", i.e. the window will not appear when letters are typed.
  • Loading branch information
ckelwin committed Sep 14, 2023
1 parent 3a37f3d commit 1297621
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion KeyNStroke/KeystrokeDisplay.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,10 @@ void KeystrokeEvent(KeystrokeEventArgs e)

if (e.ShouldBeDisplayed)
{
if (settings.EnableWindowFade && !SettingsModeActivated)
if (settings.EnableWindowFade
&& !SettingsModeActivated
&& !(settings.KeystrokeMethod == KeystrokeMethodEnum.ShortcutModeNoText && e.StrokeType == KeystrokeType.Text)
)
{
FadeIn();
}
Expand Down

0 comments on commit 1297621

Please sign in to comment.