diff --git a/src/widgets/clock.rs b/src/widgets/clock.rs index 99bff56..7704b6a 100644 --- a/src/widgets/clock.rs +++ b/src/widgets/clock.rs @@ -21,7 +21,7 @@ impl<'a> Clock<'a> { clock_cache.add_str_to_cache("0123456789:"); let digit = clock_cache.auto_widest("123456789")?; - let colon = (clock_cache.auto_widest(":")? as f32 * 1.25) as u32; + let colon = clock_cache.auto_widest(":")?; Ok(Box::new(Clock { cur_time: time,