From 1d0f21b2484c143f661e0a07dfb5fcc1e36cb280 Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Wed, 4 Jun 2025 21:10:03 +0100 Subject: [PATCH] pace: fix off-by-one in GPS `fillRect` --- apps/pace/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/pace/app.ts b/apps/pace/app.ts index 1ff325969..3552df628 100644 --- a/apps/pace/app.ts +++ b/apps/pace/app.ts @@ -48,8 +48,8 @@ const drawGpsLvl = (l: Layout.RenderedHierarchy) => { g.fillRect( l.x, l.y + l.h - 10 - (l.h - 10) * ((nsats > 12 ? 12 : nsats) / 12), - l.x + l.w, - l.y + l.h + l.x + l.w - 1, + l.y + l.h - 1 ); };