diff options
| author | 2020-02-12 22:38:36 +0100 | |
|---|---|---|
| committer | 2020-02-12 22:38:36 +0100 | |
| commit | 979edeb213c2ca0dd394a9a6c68a30dfab371263 (patch) | |
| tree | 330de9f766cae2c492b46c9880d3c3a473920570 /examples/clock | |
| parent | e7c400a0aaa01320e80aeed726e7ba702af9380b (diff) | |
| download | iced-979edeb213c2ca0dd394a9a6c68a30dfab371263.tar.gz iced-979edeb213c2ca0dd394a9a6c68a30dfab371263.tar.bz2 iced-979edeb213c2ca0dd394a9a6c68a30dfab371263.zip | |
Fix `clock` example eventually skipping a second
Diffstat (limited to 'examples/clock')
| -rw-r--r-- | examples/clock/src/main.rs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 160adffd..25a213cd 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -51,7 +51,7 @@ impl Application for Clock {      }      fn subscription(&self) -> Subscription<Message> { -        time::every(std::time::Duration::from_millis(1000)).map(Message::Tick) +        time::every(std::time::Duration::from_millis(500)).map(Message::Tick)      }      fn view(&mut self) -> Element<Message> { | 
