From 45a415b8ad5d9a4495d181bea46e769e7b22e48b Mon Sep 17 00:00:00 2001 From: BDisp Date: Mon, 25 May 2020 19:21:44 +0100 Subject: [PATCH] Switch to KeyDownHandler for faster. --- UICatalog/UICatalog.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UICatalog/UICatalog.cs b/UICatalog/UICatalog.cs index c88f38e1e..f9d62f409 100644 --- a/UICatalog/UICatalog.cs +++ b/UICatalog/UICatalog.cs @@ -177,7 +177,7 @@ namespace UICatalog { _top = Application.Top; - _top.KeyUp += KeyUpHandler; + _top.KeyDown += KeyDownHandler; _top.Add (_menu); _top.Add (_leftPane); @@ -271,7 +271,7 @@ namespace UICatalog { /// to not be impacted. Same as for tabs. /// /// - private static void KeyUpHandler (object sender, View.KeyEventEventArgs a) + private static void KeyDownHandler (object sender, View.KeyEventEventArgs a) { if (_runningScenario != null) { //switch (ke.Key) {