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
0ce8a540
"vscode:/vscode.git/clone" did not exist on "9727cda678abcfdf764a592aa35f5527d706ca34"
Commit
0ce8a540
authored
Aug 06, 2023
by
comfyanonymous
Browse files
Update litegraph to latest.
parent
d8e58f0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
web/lib/litegraph.core.js
web/lib/litegraph.core.js
+6
-2
No files found.
web/lib/litegraph.core.js
View file @
0ce8a540
...
@@ -9835,7 +9835,11 @@ LGraphNode.prototype.executeAction = function(action)
...
@@ -9835,7 +9835,11 @@ LGraphNode.prototype.executeAction = function(action)
ctx
.
textAlign
=
"
center
"
;
ctx
.
textAlign
=
"
center
"
;
ctx
.
fillStyle
=
text_color
;
ctx
.
fillStyle
=
text_color
;
ctx
.
fillText
(
ctx
.
fillText
(
w
.
label
||
w
.
name
+
"
"
+
Number
(
w
.
value
).
toFixed
(
3
),
w
.
label
||
w
.
name
+
"
"
+
Number
(
w
.
value
).
toFixed
(
w
.
options
.
precision
!=
null
?
w
.
options
.
precision
:
3
),
widget_width
*
0.5
,
widget_width
*
0.5
,
y
+
H
*
0.7
y
+
H
*
0.7
);
);
...
@@ -13835,7 +13839,7 @@ LGraphNode.prototype.executeAction = function(action)
...
@@ -13835,7 +13839,7 @@ LGraphNode.prototype.executeAction = function(action)
if
(
!
disabled
)
{
if
(
!
disabled
)
{
element
.
addEventListener
(
"
click
"
,
inner_onclick
);
element
.
addEventListener
(
"
click
"
,
inner_onclick
);
}
}
if
(
options
.
autoopen
)
{
if
(
!
disabled
&&
options
.
autoopen
)
{
LiteGraph
.
pointerListenerAdd
(
element
,
"
enter
"
,
inner_over
);
LiteGraph
.
pointerListenerAdd
(
element
,
"
enter
"
,
inner_over
);
}
}
...
...
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