From 798d108a78c54e972e24c8068c4df746d66fedd6 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 20 Mar 2021 16:50:17 +0000 Subject: [PATCH] clock: svg: Position secs explicitly The sigil might kern oddly Signed-off-by: Ian Jackson --- src/clock.rs | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/clock.rs b/src/clock.rs index 0eded2fe..c418ca06 100644 --- a/src/clock.rs +++ b/src/clock.rs @@ -308,11 +308,14 @@ impl PieceTrait for Clock { font-family="Latin Modern Mono, monospace" font-size="6" font-weight="700" "##; write!(f, r##" - {}{}{}{:02}"##, - y, - font, - show.text, - mins_pad, mins, show.sigil, secs + {}{}{}"##, + y, font, show.text, + mins_pad, mins, show.sigil + )?; + write!(f, r##" + {:02}"##, + y, font, show.text, + secs )?; if let Some(nick) = u.nick { write!(f, r##" -- 2.30.2