Skip to content

Commit da8ee70

Browse files
committed
refactor(NodeReference): remove pin and unpin methods;
1 parent 6df86b3 commit da8ee70

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

browser_tests/fixtures/utils/litegraphUtils.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -351,20 +351,6 @@ export class NodeReference {
351351
async isCollapsed() {
352352
return !!(await this.getFlags()).collapsed
353353
}
354-
async pin() {
355-
await this.comfyPage.page.evaluate((id) => {
356-
const node = window['app'].canvas.graph.getNodeById(id)
357-
if (!node) throw new Error('Node not found')
358-
node.pin(true)
359-
}, this.id)
360-
}
361-
async unpin() {
362-
await this.comfyPage.page.evaluate((id) => {
363-
const node = window['app'].canvas.graph.getNodeById(id)
364-
if (!node) throw new Error('Node not found')
365-
node.unpin()
366-
}, this.id)
367-
}
368354
async isBypassed() {
369355
return (await this.getProperty<number | null | undefined>('mode')) === 4
370356
}

0 commit comments

Comments
 (0)