From d3dbe844b61e3b122020ace3bcbd254bd7b4075f Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 18 Dec 2021 06:29:01 +0200 Subject: Fixed misaligned time in audio player TODO: This is font-dependent, so should actually use visual alignment... --- src/ui/mediaui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui') diff --git a/src/ui/mediaui.c b/src/ui/mediaui.c index 4f2499b0..1c828194 100644 --- a/src/ui/mediaui.c +++ b/src/ui/mediaui.c @@ -104,7 +104,7 @@ static int drawSevenSegmentTime_(iInt2 pos, int color, int align, int seconds) { if (align == right_Alignment) { pos.x -= size.x; } - drawRange_Text(font, addY_I2(pos, -gap_UI / 8), color, range_String(&num)); + drawRange_Text(font, addY_I2(pos, gap_UI / 2), color, range_String(&num)); deinit_String(&num); return size.x; } -- cgit v1.2.3