spelling: milliseconds

Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref
2020-10-30 14:41:33 -04:00
parent c2114d8e3b
commit 3bc0405715
2 changed files with 3 additions and 3 deletions

View File

@@ -8,6 +8,6 @@ namespace ColorPicker.Helpers
{ {
public interface IThrottledActionInvoker public interface IThrottledActionInvoker
{ {
void ScheduleAction(Action action, int miliseconds); void ScheduleAction(Action action, int milliseconds);
} }
} }

View File

@@ -21,7 +21,7 @@ namespace ColorPicker.Helpers
_timer.Tick += Timer_Tick; _timer.Tick += Timer_Tick;
} }
public void ScheduleAction(Action action, int miliseconds) public void ScheduleAction(Action action, int milliseconds)
{ {
if (_timer.IsEnabled) if (_timer.IsEnabled)
{ {
@@ -29,7 +29,7 @@ namespace ColorPicker.Helpers
} }
_actionToRun = action; _actionToRun = action;
_timer.Interval = new TimeSpan(0, 0, 0, 0, miliseconds); _timer.Interval = new TimeSpan(0, 0, 0, 0, milliseconds);
_timer.Start(); _timer.Start();
} }