fix(settings): fix alignment issues in number input (again)

This commit is contained in:
2026-01-26 18:05:16 +01:00
parent f453839599
commit d11440b35a

View File

@@ -112,7 +112,7 @@ onRender((ctx) => {
// value // value
ctx.font = "39px NDS39"; ctx.font = "39px NDS39";
ctx.letterSpacing = props.digits === 2 ? "3px" : "2px"; ctx.letterSpacing = "2px";
ctx.textBaseline = "top"; ctx.textBaseline = "top";
ctx.fillStyle = props.selected ctx.fillStyle = props.selected
? APP_COLOR_TO_FONT_COLOR[app.color.hex]! ? APP_COLOR_TO_FONT_COLOR[app.color.hex]!