Add debug icon to node group
This commit is contained in:
1 parent
4297fb63bb
commit
6fb960a57b
2 files changed
+15
No files matched your search
@@ -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: {
|
||||
|
||||
Reference in new issue
Block a user