mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-07 07:32:35 +09:00
WebView2 gives a window created hidden no animation frames, so on Windows the top bands and glowing cards never drew: no particles, no Mochis, and a grey card instead of the deep black. The loop now falls back to a timer when no frame comes, trusts the focused window, and the bands paint their black and colour themselves before the canvas runs. While you dictate, their light and particles follow your voice. Scrollbars are the Mac's thin rounded thumb, without arrows. dev/hub-preview.html and dev/island-preview.html show both windows in a browser with a stand-in for Tauri. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
14 lines
435 B
HTML
14 lines
435 B
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head><meta charset="utf-8" /><title>Coucou — island preview</title>
|
|
<style>html,body{background:#3a4a5a !important}</style></head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script>window.__answers = { boot: { settings: { language: "fr" }, cursorPoll: true } };</script>
|
|
<script type="module">
|
|
import "./tauri-mock.ts";
|
|
await import("/src/main.ts");
|
|
</script>
|
|
</body>
|
|
</html>
|