File tree Expand file tree Collapse file tree
pages/edit/Editor/renderer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -259,7 +259,7 @@ export default class CCComponentEditorRenderer extends CCComponentEditorRenderer
259259 } ) ;
260260
261261 this . context . store . nodes
262- . getManyByComponentId ( this . #componentId)
262+ . getManyByParentComponentId ( this . #componentId)
263263 . forEach ( ( node ) => this . #addNodeRenderer( node . id ) ) ;
264264 this . context . store . nodes . on ( "didRegister" , this . #onNodeAdded) ;
265265 this . context . store . nodes . on ( "didUnregister" , this . #onNodeRemoved) ;
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ export default class CCComponentEditorRendererNode extends CCComponentEditorRend
220220 nullthrows ( this . #nodePinRenderers. get ( nodePin . id ) ) . render (
221221 index ,
222222 size ,
223- inputNodePins . length
223+ outputNodePins . length
224224 ) ;
225225 } ) ;
226226 this . #pixiTexts. componentName . anchor . set ( 0 , 1 ) ;
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export function isIncluding(
150150
151151 const checkedComponentIds = new Set < CCComponentId > ( ) ;
152152 const dfs = ( _componentId : CCComponentId ) : boolean => {
153- const nodes = store . nodes . getManyByComponentId ( _componentId ) ;
153+ const nodes = store . nodes . getManyByParentComponentId ( _componentId ) ;
154154 for ( const node of nodes ) {
155155 if ( ! checkedComponentIds . has ( node . componentId ) ) {
156156 if ( node . componentId === targetComponentId ) return true ;
You can’t perform that action at this time.
0 commit comments