diff --git a/src/examples/v8.0.0/offscreenCanvas/basic.js b/src/examples/v8.0.0/offscreenCanvas/basic.js index 455229a0b..7c27ac068 100644 --- a/src/examples/v8.0.0/offscreenCanvas/basic.js +++ b/src/examples/v8.0.0/offscreenCanvas/basic.js @@ -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();