This commit is contained in:
Guillaume Faguet
2023-07-31 11:08:09 +02:00
parent 6687056387
commit 8785006770

View File

@@ -9838,7 +9838,7 @@ LGraphNode.prototype.executeAction = function(action)
ctx.fillStyle = text_color;
ctx.fillText(
w.label || w.name + " " + Number(w.value).toFixed(
w.options.precision !== null
w.options.precision != null
? w.options.precision
: 3
),