Commit 9bddc9d9 authored by pythongosssss's avatar pythongosssss
Browse files

Fix crash on group render

parent df49a727
...@@ -843,6 +843,7 @@ export class GroupNodeHandler { ...@@ -843,6 +843,7 @@ export class GroupNodeHandler {
const r = onDrawForeground?.apply?.(this, arguments); const r = onDrawForeground?.apply?.(this, arguments);
if (+app.runningNodeId === this.id && this.runningInternalNodeId !== null) { if (+app.runningNodeId === this.id && this.runningInternalNodeId !== null) {
const n = groupData.nodes[this.runningInternalNodeId]; const n = groupData.nodes[this.runningInternalNodeId];
if(!n) return;
const message = `Running ${n.title || n.type} (${this.runningInternalNodeId}/${groupData.nodes.length})`; const message = `Running ${n.title || n.type} (${this.runningInternalNodeId}/${groupData.nodes.length})`;
ctx.save(); ctx.save();
ctx.font = "12px sans-serif"; ctx.font = "12px sans-serif";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment