summaryrefslogtreecommitdiffstats
path: root/examples/clock
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-12 22:08:49 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-02-12 22:08:49 +0100
commit265c08661ca7943473c2ef305246a75bfc7847ff (patch)
tree9f7eb16e1b2334f63ea7d37f0ea6efd4d26d217a /examples/clock
parent629153582f1a43516092d941d2b4e2372a6ea054 (diff)
downloadiced-265c08661ca7943473c2ef305246a75bfc7847ff.tar.gz
iced-265c08661ca7943473c2ef305246a75bfc7847ff.tar.bz2
iced-265c08661ca7943473c2ef305246a75bfc7847ff.zip
Fix circle `end_angle` in `clock` example
Diffstat (limited to 'examples/clock')
-rw-r--r--examples/clock/src/main.rs2
1 files changed, 1 insertions, 1 deletions
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,
})
});