~kennylevinsen/wldash

2813ae0effbd10c9ffb1e63bd0a19134927bd5f1 — Kenny Levinsen 5 months ago 1b1ffc4
clock: Adjust to new font advance
1 files changed, 1 insertions(+), 1 deletions(-)

M src/widgets/clock.rs
M src/widgets/clock.rs => src/widgets/clock.rs +1 -1
@@ 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,