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
e615d40c
"...git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "d2c11969c27032e5178f62e09f95c71e35104851"
Commit
e615d40c
authored
Jan 27, 2023
by
comfyanonymous
Browse files
Fix UI annoyance with multiline textboxes sometimes getting stuck.
parent
e6aa9f0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
webshit/index.html
webshit/index.html
+11
-0
No files found.
webshit/index.html
View file @
e615d40c
...
@@ -212,6 +212,17 @@ function onObjectInfo(json) {
...
@@ -212,6 +212,17 @@ function onObjectInfo(json) {
ccc
.
parentNode
.
appendChild
(
w
.
input_div
);
ccc
.
parentNode
.
appendChild
(
w
.
input_div
);
w
=
this
.
addCustomWidget
(
w
);
w
=
this
.
addCustomWidget
(
w
);
canvas
.
onDrawBackground
=
function
()
{
for
(
let
n
in
graph
.
_nodes
)
{
n
=
graph
.
_nodes
[
n
];
for
(
let
w
in
n
.
widgets
)
{
let
wid
=
n
.
widgets
[
w
];
if
(
Object
.
hasOwn
(
wid
,
'
input_div
'
))
{
wid
.
input_div
.
hidden
=
true
;
}
}
}
}
// w = this.addWidget("text", x, "", function(v){}, { multiline:true } );
// w = this.addWidget("text", x, "", function(v){}, { multiline:true } );
console
.
log
(
w
,
this
);
console
.
log
(
w
,
this
);
this
.
_widgets
+=
[
w
]
this
.
_widgets
+=
[
w
]
...
...
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