diff --git a/src/LGraphCanvas.ts b/src/LGraphCanvas.ts index 74a400e..50534c5 100644 --- a/src/LGraphCanvas.ts +++ b/src/LGraphCanvas.ts @@ -6240,8 +6240,7 @@ export class LGraphCanvas { ctx.textAlign = "center" ctx.fillStyle = text_color ctx.fillText( - w.label || - w.name + + (w.label || w.name) + " " + Number(w.value).toFixed( w.options.precision != null ? w.options.precision : 3,