File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
browser_tests/fixtures/utils Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -351,20 +351,6 @@ export class NodeReference {
351
351
async isCollapsed ( ) {
352
352
return ! ! ( await this . getFlags ( ) ) . collapsed
353
353
}
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
- }
368
354
async isBypassed ( ) {
369
355
return ( await this . getProperty < number | null | undefined > ( 'mode' ) ) === 4
370
356
}
You can’t perform that action at this time.
0 commit comments