mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-10 03:37:33 +08:00
Remove pause rendering due to LG bug
This commit is contained in:
parent
f7aa4c0e9b
commit
7854ab7319
@ -76,14 +76,8 @@ const undoRedo = async (e) => {
|
||||
if (prevState) {
|
||||
target.push(activeState);
|
||||
isOurLoad = true;
|
||||
// Pause rendering to decrease graph flicker
|
||||
app.canvas.stopRendering();
|
||||
try {
|
||||
await app.loadGraphData(prevState, false);
|
||||
activeState = prevState;
|
||||
} finally {
|
||||
app.canvas.startRendering();
|
||||
}
|
||||
await app.loadGraphData(prevState, false);
|
||||
activeState = prevState;
|
||||
}
|
||||
}
|
||||
if (e.ctrlKey || e.metaKey) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user