From 19c47a804986cee17578c720685847d09f907589 Mon Sep 17 00:00:00 2001 From: tian-lt Date: Tue, 29 Jun 2021 13:40:36 +0800 Subject: [PATCH] fixes the button-light-up time --- 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);