Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(play): let Ctrl+P reach the browser print dialog from photo mode

nirholas2a8f58946e2a
diff --git a/src/game/photo-mode.js b/src/game/photo-mode.js
index 5ef87bd03..7f79e47b1 100644
--- a/src/game/photo-mode.js
+++ b/src/game/photo-mode.js
@@ -359,10 +359,8 @@ function showPreview({ blob, width, height, stamp, filename, onClose }) {
closePhotoPreview();
return;
}
- if (e.key === 'p' || e.key === 'P') {
- if (e.ctrlKey || e.metaKey) return;
- return;
- }
+ // Ctrl/Cmd+P included: the host leaves that to the browser's print dialog.
+ if (e.key === 'p' || e.key === 'P') return;
if (card.contains(e.target)) e.stopPropagation();
};
document.addEventListener('keydown', onKeydown, true);