mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-22 22:23:29 -07:00
fixes the button-light-up time
This commit is contained in:
parent
bd52851daa
commit
19c47a8049
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue