forked from Blendman974/faceclaw
UI tweaks
This commit is contained in:
1 parent
c199dc2369
commit
cc4b69fb80
9 files changed
+19
-12
No files matched your search
@@ -78,7 +78,7 @@ export class ResourceUsageLayer implements Layer {
|
||||
image.drawText(
|
||||
font,
|
||||
width - 16 - font.measureText(`CPU ${formatPercent(latest.cpuPercent)} threads ${latest.threads}`),
|
||||
37,
|
||||
47 - font.lineHeight,
|
||||
`CPU ${formatPercent(latest.cpuPercent)} threads ${latest.threads}`,
|
||||
155,
|
||||
);
|
||||
@@ -105,7 +105,7 @@ export class ResourceUsageLayer implements Layer {
|
||||
]);
|
||||
|
||||
image.drawText(font, 16, height - 16, `-60s`, 80);
|
||||
const nowLabel = `now ${GESTURE_DOUBLE_CLICK} back`;
|
||||
const nowLabel = `now`;
|
||||
image.drawText(font, width - 16 - font.measureText(nowLabel), height - 16, nowLabel, 110);
|
||||
return image;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user