Files
2026-08-28 01:01:12 +02:00

15 lines
433 B
JavaScript

import { app } from '../../scripts/app.js';
import { attachGuideMasterPanel } from './ui/panel.js';
app.registerExtension({
name: 'Majoor.H3GuideMaster',
async nodeCreated(node) {
if (node.comfyClass !== 'MajoorH3GuideMaster') return;
attachGuideMasterPanel(node);
},
async loadedGraphNode(node) {
if (node.comfyClass !== 'MajoorH3GuideMaster') return;
node.__majoorH3GuideMasterPanel?.refresh?.();
},
});