From 54c85720fc4228d703796e583c0c55c9725d764f Mon Sep 17 00:00:00 2001 From: Rob Pilling Date: Wed, 14 May 2025 22:30:12 +0100 Subject: [PATCH] pace: use layout `bgCol` --- apps/pace/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/pace/app.ts b/apps/pace/app.ts index c01567211..430f7809d 100644 --- a/apps/pace/app.ts +++ b/apps/pace/app.ts @@ -45,8 +45,6 @@ const drawGpsLvl = (l: Layout.RenderedHierarchy) => { else g.setColor("#00FF00"); - g.clearRect(l.x, l.y, l.x + l.w, l.y + l.h); - g.fillRect( l.x, l.y + l.h - 10 - (l.h - 10) * ((nsats > 12 ? 12 : nsats) / 12), @@ -63,6 +61,7 @@ const layout = new Layout({ render: drawGpsLvl, filly: 1, width: 10, + bgCol: g.theme.bg, // automatically clears before render() }, { type: "v",