Skip to content

Commit 6687056

Browse files
committed
changed precision check from undefined to null
1 parent 9941141 commit 6687056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/litegraph.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9838,7 +9838,7 @@ LGraphNode.prototype.executeAction = function(action)
98389838
ctx.fillStyle = text_color;
98399839
ctx.fillText(
98409840
w.label || w.name + " " + Number(w.value).toFixed(
9841-
w.options.precision !== undefined
9841+
w.options.precision !== null
98429842
? w.options.precision
98439843
: 3
98449844
),

0 commit comments

Comments
 (0)