Compare commits
3 Commits
fix/1510
...
mimo/code/
| Author | SHA1 | Date | |
|---|---|---|---|
| 1728bc0498 | |||
| e2a3031390 | |||
|
|
189348d403 |
13
app.js
13
app.js
@@ -3597,12 +3597,23 @@ function gameLoop() {
|
||||
}
|
||||
|
||||
function onResize() {
|
||||
// Guard clauses for uninitialized components
|
||||
if (!camera || !renderer) return;
|
||||
|
||||
const w = window.innerWidth;
|
||||
const h = window.innerHeight;
|
||||
|
||||
// Update camera aspect ratio and projection matrix
|
||||
camera.aspect = w / h;
|
||||
camera.updateProjectionMatrix();
|
||||
|
||||
// Update renderer size with bounds checking
|
||||
renderer.setSize(w, h);
|
||||
if (composer) composer.setSize(w, h);
|
||||
|
||||
// Update post-processing composer if available
|
||||
if (composer && composer.setSize) {
|
||||
composer.setSize(w, h);
|
||||
}
|
||||
}
|
||||
|
||||
// ═══ AGENT SIMULATION ═══
|
||||
|
||||
@@ -391,10 +391,6 @@
|
||||
<div id="archive-health-dashboard" class="archive-health-dashboard" style="display:none;" aria-label="Archive Health Dashboard"><div class="archive-health-header"><span class="archive-health-title">◈ ARCHIVE HEALTH</span><button class="archive-health-close" onclick="toggleArchiveHealthDashboard()" aria-label="Close dashboard">✕</button></div><div id="archive-health-content" class="archive-health-content"></div></div>
|
||||
<div id="memory-feed" class="memory-feed" style="display:none;"><div class="memory-feed-header"><span class="memory-feed-title">✨ Memory Feed</span><div class="memory-feed-actions"><button class="memory-feed-clear" onclick="clearMemoryFeed()">Clear</button><button class="memory-feed-toggle" onclick="document.getElementById('memory-feed').style.display='none'">✕</button></div></div><div id="memory-feed-list" class="memory-feed-list"></div></div>
|
||||
<div id="memory-filter" class="memory-filter" style="display:none;"><div class="filter-header"><span class="filter-title">⬡ Memory Filter</span><button class="filter-close" onclick="closeMemoryFilter()">✕</button></div><div class="filter-controls"><button class="filter-btn" onclick="setAllFilters(true)">Show All</button><button class="filter-btn" onclick="setAllFilters(false)">Hide All</button></div><div class="filter-list" id="filter-list"></div></div>
|
||||
<div id="spatial-search" class="spatial-search" style="display:none;">
|
||||
<input type="text" id="spatial-search-input" placeholder="Search spatial memories..." autocomplete="off" />
|
||||
<div id="spatial-search-results"></div>
|
||||
</div>
|
||||
<div id="memory-inspect-panel" class="memory-inspect-panel" style="display:none;" aria-label="Memory Inspect Panel"></div>
|
||||
<div id="memory-connections-panel" class="memory-connections-panel" style="display:none;" aria-label="Memory Connections Panel"></div>
|
||||
|
||||
|
||||
@@ -161,7 +161,7 @@ class TestLoadingFlow:
|
||||
enter = browser_page.query_selector("#enter-prompt")
|
||||
if enter and enter.is_visible():
|
||||
enter.click()
|
||||
time.sleep(2) # Wait for click handler + transition
|
||||
time.sleep(1)
|
||||
|
||||
# HUD should now be visible
|
||||
hud = browser_page.query_selector("#hud")
|
||||
|
||||
Reference in New Issue
Block a user