From 265c08661ca7943473c2ef305246a75bfc7847ff 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 22:08:49 +0100 Subject: [PATCH] Fix circle `end_angle` in `clock` example --- examples/clock/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clock/src/main.rs b/examples/clock/src/main.rs index e30158f7..25849d1a 100644 --- a/examples/clock/src/main.rs +++ b/examples/clock/src/main.rs @@ -100,7 +100,7 @@ impl canvas::layer::Drawable for LocalTime { center, radius, start_angle: 0.0, - end_angle: 360.0 * 2.0 * std::f32::consts::PI, + end_angle: 2.0 * std::f32::consts::PI, }) });