Skip to content

Commit

Permalink
Fix: OffscreenCanvas example is broken #84 (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberDex authored Mar 7, 2024
1 parent 12d985a commit e6b839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/examples/v8.0.0/offscreenCanvas/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const view = canvas.transferControlToOffscreen();
await app.init({ view, background: '#1099bb', resizeTo: window });

// Append the application canvas to the document body
document.body.appendChild(app.canvas);
document.body.appendChild(canvas);

const container = new Container();

Expand Down

0 comments on commit e6b839d

Please sign in to comment.