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
e53b1592
"deploy/git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "c1d19ce23fe6c5647646c541efbda21fd79d5462"
Unverified
Commit
e53b1592
authored
Jul 01, 2024
by
ruucm
Committed by
GitHub
Jul 01, 2024
Browse files
enable cmd shortcuts for mac (mute & bypass) (#3792)
parent
7c5fa7f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
web/scripts/app.js
web/scripts/app.js
+2
-2
No files found.
web/scripts/app.js
View file @
e53b1592
...
@@ -1084,7 +1084,7 @@ export class ComfyApp {
...
@@ -1084,7 +1084,7 @@ export class ComfyApp {
if
(
e
.
type
==
"
keydown
"
&&
!
e
.
repeat
)
{
if
(
e
.
type
==
"
keydown
"
&&
!
e
.
repeat
)
{
// Ctrl + M mute/unmute
// Ctrl + M mute/unmute
if
(
e
.
key
===
'
m
'
&&
e
.
ctrlKey
)
{
if
(
e
.
key
===
'
m
'
&&
(
e
.
metaKey
||
e
.
ctrlKey
)
)
{
if
(
this
.
selected_nodes
)
{
if
(
this
.
selected_nodes
)
{
for
(
var
i
in
this
.
selected_nodes
)
{
for
(
var
i
in
this
.
selected_nodes
)
{
if
(
this
.
selected_nodes
[
i
].
mode
===
2
)
{
// never
if
(
this
.
selected_nodes
[
i
].
mode
===
2
)
{
// never
...
@@ -1098,7 +1098,7 @@ export class ComfyApp {
...
@@ -1098,7 +1098,7 @@ export class ComfyApp {
}
}
// Ctrl + B bypass
// Ctrl + B bypass
if
(
e
.
key
===
'
b
'
&&
e
.
ctrlKey
)
{
if
(
e
.
key
===
'
b
'
&&
(
e
.
metaKey
||
e
.
ctrlKey
)
)
{
if
(
this
.
selected_nodes
)
{
if
(
this
.
selected_nodes
)
{
for
(
var
i
in
this
.
selected_nodes
)
{
for
(
var
i
in
this
.
selected_nodes
)
{
if
(
this
.
selected_nodes
[
i
].
mode
===
4
)
{
// never
if
(
this
.
selected_nodes
[
i
].
mode
===
4
)
{
// never
...
...
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