mirror of
https://github.com/Matysh/houseplan-card
synced 2026-10-06 14:39:22 +00:00
fix(led): preserve strip corners and feather the complete light field
Keep real end and corner emitters, robust decimal joins and wall-circle sweep events. Render one positive-winding compound visibility clip so Chromium cannot cancel or cut away overlapping light regions. Add independent pixel oracles for glow falloff and wall-following tubes. Replace the lossy fan-count limit with explicit cached-path bounds while retaining the original timing and warm-cycle heap-growth limits. Issue: #788 User-Visible: yes
This commit is contained in:
@@ -308,6 +308,7 @@ test('#780 led-strips-v1: the derived fixture converts devices without adding ic
|
||||
panZoomMs: 500, panZoomLongTaskMaxMs: 150, retainedHeapBytes: 64 * 1024 * 1024, cameraSeriesLongTaskMaxMs: 150 });
|
||||
assert.deepEqual(budgets.sizes['50x50'], { firstStableRenderMs: 5000, warmSpaceReadyMs: 1500, stateUpdateMs: 1500,
|
||||
panZoomMs: 500, panZoomLongTaskMaxMs: 150, retainedHeapBytes: 64 * 1024 * 1024, cameraSeriesLongTaskMaxMs: 150 });
|
||||
// ТЗ §13.2: the three caches of the shown space, judged separately (r1 M5).
|
||||
assert.deepEqual(budgets.caches, { shapes: 50, visibility: 50, sources: 2500 });
|
||||
// #788: bounded retained representation, never a lossy fan cap. The timing
|
||||
// and warm-cycle heap-growth limits above remain the original ТЗ table.
|
||||
assert.deepEqual(budgets.caches, { shapes: 50, visibility: 50, visibilityPaths: 2500, pathChars: 4 * 1024 * 1024 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user