fix(ui): rails take obstacles across the middle together, so their order never picks the side

Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
Sameh KhamisandManjunath Paparaju committed 2026-11-18 22:39:29 -08:00
1 parent 31a7b6a0a5
commit feedd88614
7 files changed
+99 -45

No files matched your search

+1 -1
View File
@@ -1010,7 +1010,7 @@ test('an expanded Cockpit left panel stays above Contact, HUD, and attribution',
assert.ok(leftLayout, 'left accordion layout pass is missing');
assert.match(
leftLayout,
/rect\.top >= baseTop\) \{\s*\n\s*bottomObstacles\.push\(\{ top: rect\.top \}\);/,
/\} else \{\s*\n\s*bottomObstacles\.push\(\{ top: rect\.top \}\);\s*\n\s*\}\s*\n\s*\}/,
'every rendered lower-lane obstacle must constrain the panel corridor',
);
assert.match(