mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-03-10 11:47:34 +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) {
|
if (prevState) {
|
||||||
target.push(activeState);
|
target.push(activeState);
|
||||||
isOurLoad = true;
|
isOurLoad = true;
|
||||||
// Pause rendering to decrease graph flicker
|
await app.loadGraphData(prevState, false);
|
||||||
app.canvas.stopRendering();
|
activeState = prevState;
|
||||||
try {
|
|
||||||
await app.loadGraphData(prevState, false);
|
|
||||||
activeState = prevState;
|
|
||||||
} finally {
|
|
||||||
app.canvas.startRendering();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (e.ctrlKey || e.metaKey) {
|
if (e.ctrlKey || e.metaKey) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user