mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 09:42:21 +00:00
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:
1 parent
31a7b6a0a5
commit
feedd88614
7 files changed
+99
-45
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user