We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clock
1 parent 10e5362 commit d9a7329Copy full SHA for d9a7329
1 file changed
examples/clock/src/main.rs
@@ -182,9 +182,7 @@ impl<Message> canvas::Program<Message> for Clock {
182
183
// Draw ticks
184
for tick in 0..60 {
185
- let angle = Radians::from(hand_rotation(tick, 60))
186
- - Radians::from(Degrees(90.0));
187
-
+ let angle = hand_rotation(tick, 60);
188
let width = if tick % 5 == 0 { 3.0 } else { 1.0 };
189
190
frame.with_save(|frame| {
0 commit comments