We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent adc95bd commit 0421fe7Copy full SHA for 0421fe7
1 file changed
src/components/shared/thread/ActivityGraphFills.tsx
@@ -315,6 +315,13 @@ export class ActivityGraphFillComputer {
315
// at the end, so accessing [i + 1] is valid even for the last sample.
316
const halfwayPositionAfter = halfwayPositions[i + 1];
317
const afterSampleCpuPercent = threadCPUPercent[i + 1];
318
+
319
+ if (beforeSampleCpuPercent === 0 && afterSampleCpuPercent === 0) {
320
+ halfwayPositionBefore = halfwayPositionAfter;
321
+ beforeSampleCpuPercent = afterSampleCpuPercent;
322
+ continue;
323
+ }
324
325
const category = samples.category[i];
326
327
const bufferIndex =
0 commit comments