fixed debug node after mapping changes
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"nodes": [
|
||||
{
|
||||
"id": 12,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
87.54340541403973
|
||||
@@ -51,7 +51,7 @@
|
||||
},
|
||||
{
|
||||
"id": 14,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
87.54340541403973
|
||||
@@ -98,7 +98,7 @@
|
||||
},
|
||||
{
|
||||
"id": 6,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
87.54340541403973
|
||||
@@ -145,7 +145,7 @@
|
||||
},
|
||||
{
|
||||
"id": 22,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
397.54340541403997
|
||||
@@ -192,7 +192,7 @@
|
||||
},
|
||||
{
|
||||
"id": 20,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
397.54340541403997
|
||||
@@ -239,7 +239,7 @@
|
||||
},
|
||||
{
|
||||
"id": 21,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
547.5434054140403
|
||||
@@ -284,7 +284,7 @@
|
||||
},
|
||||
{
|
||||
"id": 15,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
237.5434054140395
|
||||
@@ -326,7 +326,7 @@
|
||||
},
|
||||
{
|
||||
"id": 13,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
237.5434054140395
|
||||
@@ -371,7 +371,7 @@
|
||||
},
|
||||
{
|
||||
"id": 8,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
237.5434054140395
|
||||
@@ -416,7 +416,7 @@
|
||||
},
|
||||
{
|
||||
"id": 18,
|
||||
"type": "String Replace",
|
||||
"type": "DF_String_Replace",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
397.54340541403997
|
||||
@@ -463,7 +463,7 @@
|
||||
},
|
||||
{
|
||||
"id": 19,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
547.5434054140403
|
||||
@@ -508,7 +508,7 @@
|
||||
},
|
||||
{
|
||||
"id": 30,
|
||||
"type": "Text box",
|
||||
"type": "DF_Text_Box",
|
||||
"pos": [
|
||||
8.076819095100182,
|
||||
707.5434054140405
|
||||
@@ -542,7 +542,7 @@
|
||||
},
|
||||
{
|
||||
"id": 29,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
857.5434054140403
|
||||
@@ -587,7 +587,7 @@
|
||||
},
|
||||
{
|
||||
"id": 7,
|
||||
"type": "Text box",
|
||||
"type": "DF_Text_Box",
|
||||
"pos": [
|
||||
8.076819095100182,
|
||||
87.54340541403973
|
||||
@@ -623,7 +623,7 @@
|
||||
},
|
||||
{
|
||||
"id": 33,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
857.5434054140403
|
||||
@@ -668,7 +668,7 @@
|
||||
},
|
||||
{
|
||||
"id": 23,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
547.5434054140403
|
||||
@@ -710,7 +710,7 @@
|
||||
},
|
||||
{
|
||||
"id": 36,
|
||||
"type": "To text (Debug)",
|
||||
"type": "DF_To_text_(Debug)",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
857.5434054140403
|
||||
@@ -753,7 +753,7 @@
|
||||
},
|
||||
{
|
||||
"id": 28,
|
||||
"type": "String Concatenate",
|
||||
"type": "DF_String_Concatenate",
|
||||
"pos": [
|
||||
238.0768190950997,
|
||||
707.5434054140405
|
||||
@@ -807,7 +807,7 @@
|
||||
},
|
||||
{
|
||||
"id": 35,
|
||||
"type": "String Concatenate",
|
||||
"type": "DF_String_Concatenate",
|
||||
"pos": [
|
||||
698.0768190950994,
|
||||
707.5434054140405
|
||||
@@ -861,7 +861,7 @@
|
||||
},
|
||||
{
|
||||
"id": 34,
|
||||
"type": "String Concatenate",
|
||||
"type": "DF_String_Concatenate",
|
||||
"pos": [
|
||||
468.07681909509967,
|
||||
707.5434054140405
|
||||
@@ -915,7 +915,7 @@
|
||||
},
|
||||
{
|
||||
"id": 31,
|
||||
"type": "Text box",
|
||||
"type": "DF_Text_Box",
|
||||
"pos": [
|
||||
8.076819095100182,
|
||||
857.5434054140403
|
||||
|
||||
@@ -4,7 +4,7 @@ import {ComfyWidgets} from "../../../scripts/widgets.js";
|
||||
app.registerExtension({
|
||||
name: "derfuu.Debug.ShowDataText",
|
||||
async beforeRegisterNodeDef(nodeType, nodeData, app) {
|
||||
if (nodeData.name === "To text (Debug)") {
|
||||
if (nodeData.name === "DF_To_text_(Debug)") {
|
||||
function set_text_wid(text) {
|
||||
if (this.widgets) {
|
||||
for (let i = 0; i < this.widgets.length; i++) {
|
||||
@@ -13,7 +13,7 @@ app.registerExtension({
|
||||
this.widgets.length = 0;
|
||||
}
|
||||
|
||||
const widget = ComfyWidgets["STRING"](this, "DEBUG INFO", ["STRING", {multiline: true}], app).widget;
|
||||
const widget = ComfyWidgets.STRING(this, "DEBUG INFO", ["STRING", {multiline: true}], app).widget;
|
||||
widget.inputEl.readOnly = true;
|
||||
widget.inputEl.style.opacity = 0.75;
|
||||
widget.value = text;
|
||||
|
||||
Reference in New Issue
Block a user