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.
2 parents 3bf938f + 92e1488 commit 2fa6edfCopy full SHA for 2fa6edf
1 file changed
examples/clock/src/main.rs
@@ -133,7 +133,7 @@ impl canvas::Drawable for LocalTime {
133
frame.stroke(
134
&hour_and_minute_hands,
135
canvas::Stroke {
136
- width: 6.0,
+ width: radius / 100.0 * 3.0,
137
color: Color::WHITE,
138
line_cap: canvas::LineCap::Round,
139
..canvas::Stroke::default()
@@ -148,7 +148,7 @@ impl canvas::Drawable for LocalTime {
148
149
&second_hand,
150
151
- width: 3.0,
+ width: radius / 100.0,
152
153
154
0 commit comments