File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
libs/visual-programming-system/src/components Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -504,6 +504,19 @@ export class Connection<T extends BaseNodeInfo> {
504504 let updateThumbs = false ;
505505
506506 if ( ! target || x === undefined || y === undefined || ! initiator ) {
507+ (
508+ this . pathTransparentElement ?. domElement as SVGPathElement
509+ ) . classList . remove ( 'hidden' ) ;
510+ if ( this . nodeComponent ?. startNode && this . nodeComponent ?. endNode ) {
511+ if (
512+ this . nodeComponent . startNode . nodeInfo ?. isInGroup ||
513+ this . nodeComponent . endNode . nodeInfo ?. isInGroup
514+ ) {
515+ (
516+ this . pathTransparentElement ?. domElement as SVGPathElement
517+ ) . classList . add ( 'hidden' ) ;
518+ }
519+ }
507520 // needed for updating without using parameters (...update() )
508521 if ( this . nodeComponent ?. startNode ) {
509522 const start = this . onCalculateControlPoints (
You can’t perform that action at this time.
0 commit comments