Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TodePond committed Jan 25, 2025
1 parent 0df053f commit 3eb73fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const Frame = {
// hydra
session.on('eval:hydra', (msg) => {
// msg.body += '\n\n\n' + getStdSource();
Frame.hydra?.contentWindow.postMessage({ type: 'eval', msg: msg.body + '\n\n\n' + getStdSource() });
Frame.hydra?.contentWindow.postMessage({ type: 'eval', msg });
});
// shader
session.on('eval:shader', (msg) => Frame.shader?.contentWindow.postMessage({ type: 'eval', msg }));
Expand Down

0 comments on commit 3eb73fd

Please sign in to comment.