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
24b969d3
"deploy/vscode:/vscode.git/clone" did not exist on "a7d5c8f804b33c7073cab71cd70e02028df5907f"
Unverified
Commit
24b969d3
authored
Jul 03, 2024
by
bymyself
Committed by
GitHub
Jul 03, 2024
Browse files
Skip state check hook on first load (#3915)
parent
086ac752
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
web/scripts/changeTracker.js
web/scripts/changeTracker.js
+5
-3
No files found.
web/scripts/changeTracker.js
View file @
24b969d3
...
...
@@ -173,10 +173,12 @@ export class ChangeTracker {
const
onNodeAdded
=
LiteGraph
.
LGraph
.
prototype
.
onNodeAdded
;
LiteGraph
.
LGraph
.
prototype
.
onNodeAdded
=
function
()
{
const
v
=
onNodeAdded
?.
apply
(
this
,
arguments
);
if
(
!
app
?.
configuringGraph
)
{
const
ct
=
changeTracker
();
if
(
!
ct
.
isOurLoad
)
{
ct
.
checkState
();
}
}
return
v
;
};
...
...
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