We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b150e6f commit 5fdf152Copy full SHA for 5fdf152
src/client/graphics/layers/PerformanceOverlay.ts
@@ -542,9 +542,9 @@ export class PerformanceOverlay extends LitElement implements Layer {
542
Math.round(ringBufferUtilization * 100) / 100;
543
}
544
545
- if (ringBufferOverflows !== undefined) {
546
- // Accumulate overflows (overflows is a flag, so add 1 if set)
547
- this.ringBufferOverflows += ringBufferOverflows;
+ if (ringBufferOverflows !== undefined && ringBufferOverflows !== 0) {
+ // Remember that an overflow has occurred at least once this run.
+ this.ringBufferOverflows = 1;
548
549
550
if (ringDrainTime !== undefined) {
0 commit comments