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
fb73d008
Commit
fb73d008
authored
Apr 06, 2023
by
comfyanonymous
Browse files
Merge branch 'menu-drag' of
https://github.com/missionfloyd/ComfyUI
parents
d75b9617
3536a7c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
4 deletions
+1
-4
web/scripts/ui.js
web/scripts/ui.js
+1
-1
web/style.css
web/style.css
+0
-3
No files found.
web/scripts/ui.js
View file @
fb73d008
...
@@ -431,7 +431,7 @@ export class ComfyUI {
...
@@ -431,7 +431,7 @@ export class ComfyUI {
});
});
this
.
menuContainer
=
$el
(
"
div.comfy-menu
"
,
{
parent
:
document
.
body
},
[
this
.
menuContainer
=
$el
(
"
div.comfy-menu
"
,
{
parent
:
document
.
body
},
[
$el
(
"
div
"
,
{
style
:
{
overflow
:
"
hidden
"
,
position
:
"
relative
"
,
width
:
"
100%
"
}
},
[
$el
(
"
div
.drag-handle
"
,
{
style
:
{
overflow
:
"
hidden
"
,
position
:
"
relative
"
,
width
:
"
100%
"
,
cursor
:
"
default
"
}
},
[
$el
(
"
span.drag-handle
"
),
$el
(
"
span.drag-handle
"
),
$el
(
"
span
"
,
{
$
:
(
q
)
=>
(
this
.
queueSize
=
q
)
}),
$el
(
"
span
"
,
{
$
:
(
q
)
=>
(
this
.
queueSize
=
q
)
}),
$el
(
"
button.comfy-settings-btn
"
,
{
textContent
:
"
⚙️
"
,
onclick
:
()
=>
this
.
settings
.
show
()
}),
$el
(
"
button.comfy-settings-btn
"
,
{
textContent
:
"
⚙️
"
,
onclick
:
()
=>
this
.
settings
.
show
()
}),
...
...
web/style.css
View file @
fb73d008
...
@@ -72,13 +72,10 @@ body {
...
@@ -72,13 +72,10 @@ body {
}
}
.comfy-menu
{
.comfy-menu
{
width
:
200px
;
font-size
:
15px
;
font-size
:
15px
;
position
:
absolute
;
position
:
absolute
;
top
:
50%
;
top
:
50%
;
right
:
0%
;
right
:
0%
;
background-color
:
white
;
color
:
#000
;
text-align
:
center
;
text-align
:
center
;
z-index
:
100
;
z-index
:
100
;
width
:
170px
;
width
:
170px
;
...
...
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