Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
a0ce8a44
"...composable_kernel_onnx.git" did not exist on "f6934e0bf4460c7ad97c57d5f4a645e426048b1d"
Commit
a0ce8a44
authored
Oct 14, 2023
by
comfyanonymous
Browse files
Merge branch 'shortcut-collapse' of
https://github.com/jn-jairo/ComfyUI
parents
2e6270e3
25f0f4e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
README.md
README.md
+1
-0
web/scripts/app.js
web/scripts/app.js
+10
-0
No files found.
README.md
View file @
a0ce8a44
...
@@ -46,6 +46,7 @@ Workflow examples can be found on the [Examples page](https://comfyanonymous.git
...
@@ -46,6 +46,7 @@ Workflow examples can be found on the [Examples page](https://comfyanonymous.git
| Ctrl + S | Save workflow |
| Ctrl + S | Save workflow |
| Ctrl + O | Load workflow |
| Ctrl + O | Load workflow |
| Ctrl + A | Select all nodes |
| Ctrl + A | Select all nodes |
| Alt + C | Collapse/uncollapse selected nodes |
| Ctrl + M | Mute/unmute selected nodes |
| Ctrl + M | Mute/unmute selected nodes |
| Ctrl + B | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) |
| Ctrl + B | Bypass selected nodes (acts like the node was removed from the graph and the wires reconnected through) |
| Delete/Backspace | Delete selected nodes |
| Delete/Backspace | Delete selected nodes |
...
...
web/scripts/app.js
View file @
a0ce8a44
...
@@ -928,6 +928,16 @@ export class ComfyApp {
...
@@ -928,6 +928,16 @@ export class ComfyApp {
block_default
=
true
;
block_default
=
true
;
}
}
// Alt + C collapse/uncollapse
if
(
e
.
key
===
'
c
'
&&
e
.
altKey
)
{
if
(
this
.
selected_nodes
)
{
for
(
var
i
in
this
.
selected_nodes
)
{
this
.
selected_nodes
[
i
].
collapse
()
}
}
block_default
=
true
;
}
// Ctrl+C Copy
// Ctrl+C Copy
if
((
e
.
key
===
'
c
'
)
&&
(
e
.
metaKey
||
e
.
ctrlKey
))
{
if
((
e
.
key
===
'
c
'
)
&&
(
e
.
metaKey
||
e
.
ctrlKey
))
{
// Trigger onCopy
// Trigger onCopy
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment