Skip to content

Commit 1738e0f

Browse files
authored
Fix: Fixed Windows key (#11684)
Fix windows key
1 parent fa7006d commit 1738e0f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Files.App/Views/MainPage.xaml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,10 @@ protected override async void OnPreviewKeyDown(KeyRoutedEventArgs e)
219219

220220
switch (e.Key)
221221
{
222+
case VirtualKey.LeftWindows:
223+
case VirtualKey.RightWindows:
224+
currentModifiers |= VirtualKeyModifiers.Windows;
225+
break;
222226
case VirtualKey.Menu:
223227
currentModifiers |= VirtualKeyModifiers.Menu;
224228
break;

0 commit comments

Comments
 (0)