mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-20 21:33:10 -07:00
fixes the button-light-up time (#1597)
This commit is contained in:
parent
4ae898d827
commit
d6ed2cbf51
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