File tree Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Expand file tree Collapse file tree 3 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ python -m http.server
2828
2929## Changelog
3030
31+ 2025-08-26 v1.0.20: Disable quick-connections in subgraphs, not working.
31322025-08-23 v1.0.19: Possible crashes in subgraph node fix. https://github.com/niknah/quick-connections/issues/25
32332025-07-15 v1.0.17: Draw connections in subgraph mode. https://github.com/niknah/quick-connections/issues/24
33342025-07-04 v1.0.16: Problem with the enable/disable toggle not working. https://github.com/niknah/quick-connections/issues/19
Original file line number Diff line number Diff line change @@ -78,6 +78,10 @@ export class QuickConnection {
7878 console . error ( 'no canvas' , this . canvas ) ; // eslint-disable-line no-console
7979 } else {
8080 this . canvas . canvas . addEventListener ( 'litegraph:canvas' , ( e ) => {
81+ if ( this . canvas ?. subgraph ) {
82+ return ;
83+ }
84+
8185 const { detail } = e ;
8286 if ( ! this . release_link_on_empty_shows_menu
8387 && detail && detail . subType === 'empty-release'
@@ -220,6 +224,9 @@ export class QuickConnection {
220224 console . error ( 'no canvas or mouse yet' , this . canvas ) ; // eslint-disable-line no-console
221225 return ;
222226 }
227+ if ( this . canvas . subgraph ) {
228+ return ;
229+ }
223230
224231 this . insideConnection = null ;
225232
Original file line number Diff line number Diff line change 11[project ]
22name = " quick-connections"
33description = " Quick connections, Circuit board connections"
4- version = " 1.0.19 "
4+ version = " 1.0.20 "
55license = {text = " MIT License" }
66
77[project .urls ]
You can’t perform that action at this time.
0 commit comments