Skip to content

Commit

Permalink
Tweak preview handling
Browse files Browse the repository at this point in the history
  • Loading branch information
dirx committed Jul 28, 2022
1 parent cc54ff5 commit 923640b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,8 @@ export class Container {
if (!fxpreviewCalled && !piece.inPreviewPhase) {
let previewCanvas = piece.preparePreviewCanvas();
document.body.prepend(previewCanvas);
window.fxpreview();
fxpreviewCalled = true;
// setTimeout(() => previewCanvas.remove(), 1000);
setTimeout(() => window.fxpreview(), 1000);

// debug: combination screenshots
let search = new URLSearchParams(
Expand Down

0 comments on commit 923640b

Please sign in to comment.