From 96b36d0f9e4beba2ac9cbe9c873adf1b89d31f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 12 Feb 2020 09:00:44 +0100 Subject: [PATCH] Increase line width in `clock` example --- examples/clock/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index 1b8d1ee6..e70ce91a 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -54,7 +54,7 @@ impl Application for Clock { } fn subscription(&self) -> Subscription { - time::every(std::time::Duration::from_millis(500)).map(Message::Tick) + time::every(std::time::Duration::from_millis(1000)).map(Message::Tick) } fn view(&mut self) -> Element { @@ -138,7 +138,7 @@ impl canvas::layer::Drawable for LocalTime { frame.stroke( &path, canvas::Stroke { - width: 4.0, + width: 6.0, color: Color::WHITE, line_cap: canvas::LineCap::Round, ..canvas::Stroke::default() @@ -153,7 +153,7 @@ impl canvas::layer::Drawable for LocalTime { frame.stroke( &path, canvas::Stroke { - width: 2.0, + width: 3.0, color: Color::WHITE, line_cap: canvas::LineCap::Round, ..canvas::Stroke::default()