mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-02 19:49:58 +00:00
Fix slider value display when widget.label is present (#381)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user