From faae2d6bc0f1a9ba66a145313abf7c02640276e2 Mon Sep 17 00:00:00 2001 From: Jake D <122334950+jwd-dev@users.noreply.github.com> Date: Tue, 25 Apr 2023 15:50:36 -0400 Subject: [PATCH] Update widgets.js --- web/scripts/widgets.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/scripts/widgets.js b/web/scripts/widgets.js index f543d2038..c0e73ffa1 100644 --- a/web/scripts/widgets.js +++ b/web/scripts/widgets.js @@ -136,10 +136,10 @@ function addMultilineWidget(node, name, opts, app) { left: `${t.a * margin + t.e}px`, top: `${t.d * (y + widgetHeight - margin - 3) + t.f}px`, width: `${(widgetWidth - margin * 2 - 3) * t.a}px`, - background: (!node.color || node.color==='#222')?'':node.color, + background: (!node.color)?'':node.color, height: `${(this.parent.inputHeight - margin * 2 - 4) * t.d}px`, position: "absolute", - color: (!node.color || node.color==='#222')?'':'white', + color: (!node.color)?'':'white', zIndex: app.graph._nodes.indexOf(node), fontSize: `${t.d * 10.0}px`, });