Skip to content

Commit 721fbdc

Browse files
committed
Add missing using
1 parent c46ade2 commit 721fbdc

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/ImageSort.WPF/MainWindow.xaml.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
using ImageSort.WPF.Views;
2020
using ImageSort.WPF.Views.Credits;
2121
using ReactiveUI;
22+
using ReactiveMarbles.ObservableEvents;
2223
using Splat;
2324
using Application = System.Windows.Application;
2425
using KeyEventArgs = System.Windows.Input.KeyEventArgs;
@@ -118,7 +119,7 @@ public MainWindow()
118119
.Select(kv => kv.Value)
119120
.OfType<Hotkey>();
120121

121-
var reservedKeysPressed = this.Events.PreviewKeyDown
122+
var reservedKeysPressed = this.Events().PreviewKeyDown
122123
.Where(_ => interceptReservedKeys)
123124
.Where(_ => !(Keyboard.FocusedElement is TextBox))
124125
.Where(k => reservedKeys.Contains(new Hotkey(k.Key, Keyboard.Modifiers)))

0 commit comments

Comments
 (0)