mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 16:22:20 +00:00
Merge main through #1616 into the renderer seam
This commit is contained in:
commit
9a2e2ecddd
82 files changed
+3594
-443
No files matched your search
@@ -33,9 +33,12 @@ export function createAnimation({
|
||||
}
|
||||
|
||||
function syncRenderDemand() {
|
||||
// Hidden dots (`dots` off) need no frames; lines need them only while
|
||||
// the heat-line prototype's jam lines pulse.
|
||||
const needed = Boolean(
|
||||
layerState._enabled &&
|
||||
(layerState._dots.length || parts.rendering.heatPulsing?.()),
|
||||
((layerState._showDots !== false && layerState._dots.length) ||
|
||||
parts.rendering.heatPulsing?.()),
|
||||
);
|
||||
// Height easing only runs in a held frame. Settle it before releasing, so
|
||||
// a population emptied mid-correction cannot report loading forever.
|
||||
@@ -317,7 +320,8 @@ export function createAnimation({
|
||||
}
|
||||
flushDots();
|
||||
|
||||
// Jam heat-lines throb (~1.6 s period); none outside live heatline mode.
|
||||
// Jam heat-lines throb (~1.6 s period); none outside live heatline mode,
|
||||
// and the steady flow lines (`lines` toggle) never pulse.
|
||||
parts.rendering.pulseHeatLines?.(now);
|
||||
|
||||
layerState._animFrame++;
|
||||
|
||||
Reference in new issue
Block a user