diff --git a/render-process/RegisterNode.ts b/render-process/RegisterNode.ts index bda884e..952803c 100644 --- a/render-process/RegisterNode.ts +++ b/render-process/RegisterNode.ts @@ -131,6 +131,20 @@ export default function (settings: Settings) { name: "node-icon", }); + // debug + if (cfg.debug) { + group.addShape("image", { + attrs: { + x: x0 + 182, + y: y0 + 2, + height: 14, + width: 14, + img: `./static/icons/Debug.svg`, + }, + name: "node-icon", + }); + } + // name text group.addShape("text", { attrs: { diff --git a/static/icons/Debug.svg b/static/icons/Debug.svg new file mode 100644 index 0000000..59c05ab --- /dev/null +++ b/static/icons/Debug.svg @@ -0,0 +1 @@ + \ No newline at end of file