From d6ed2cbf510f532e40f9ffc59ee077122404d825 Mon Sep 17 00:00:00 2001 From: Tian L <60599517+tian-lt@users.noreply.github.com> Date: Thu, 1 Jul 2021 08:54:38 +0800 Subject: [PATCH] fixes the button-light-up time (#1597) --- src/Calculator/Common/KeyboardShortcuManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Calculator/Common/KeyboardShortcuManager.cs b/src/Calculator/Common/KeyboardShortcuManager.cs index 63a750c5..d6579767 100644 --- a/src/Calculator/Common/KeyboardShortcuManager.cs +++ b/src/Calculator/Common/KeyboardShortcuManager.cs @@ -51,7 +51,7 @@ namespace CalculatorApp // go back to the normal state. // This timer will only fire once after which it will be destroyed var timer = new DispatcherTimer(); - TimeSpan lightUpTime = TimeSpan.FromMilliseconds(500); // half second + TimeSpan lightUpTime = TimeSpan.FromMilliseconds(50); // 5e5 100-ns timer.Interval = lightUpTime; var timerWeakReference = new WeakReference(timer);