File tree Expand file tree Collapse file tree
src/components/shared/thread Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ export class ActivityGraphFillComputer {
307307
308308 // Go through the samples and accumulate the category into the buffer.
309309 const { samplePositions, halfwayPositions } = precomputedPositions ;
310- const { threadCPUPercent } = samples ;
310+ const { threadCPUPercent, category : sampleCategories } = samples ;
311311 let beforeSampleCpuPercent = threadCPUPercent [ 0 ] ;
312312 let halfwayPositionBefore = halfwayPositions [ 0 ] ;
313313 for ( let i = 0 ; i < samples . length ; i ++ ) {
@@ -322,7 +322,7 @@ export class ActivityGraphFillComputer {
322322 continue ;
323323 }
324324
325- const category = samples . category [ i ] ;
325+ const category = sampleCategories [ i ] ;
326326
327327 const bufferIndex =
328328 sampleSelectedStates [ i ] & SAMPLE_RELATION_TO_SELECTED_STATE_MASK ;
You can’t perform that action at this time.
0 commit comments