We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
bgCol
1 parent 0b9f64d commit 54c8572Copy full SHA for 54c8572
apps/pace/app.ts
@@ -45,8 +45,6 @@ const drawGpsLvl = (l: Layout.RenderedHierarchy) => {
45
else
46
g.setColor("#00FF00");
47
48
- g.clearRect(l.x, l.y, l.x + l.w, l.y + l.h);
49
-
50
g.fillRect(
51
l.x,
52
l.y + l.h - 10 - (l.h - 10) * ((nsats > 12 ? 12 : nsats) / 12),
@@ -63,6 +61,7 @@ const layout = new Layout({
63
61
render: drawGpsLvl,
64
62
filly: 1,
65
width: 10,
+ bgCol: g.theme.bg, // automatically clears before render()
66
},
67
{
68
type: "v",
0 commit comments