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 @@ -305,7 +305,7 @@ export class ActivityGraphFillComputer {
305305
306306 // Go through the samples and accumulate the category into the buffer.
307307 const { samplePositions, halfwayPositions } = precomputedPositions ;
308- const { threadCPUPercent } = samples ;
308+ const { threadCPUPercent, category : sampleCategories } = samples ;
309309 let beforeSampleCpuPercent = threadCPUPercent [ 0 ] ;
310310 let halfwayPositionBefore = halfwayPositions [ 0 ] ;
311311 for ( let i = 0 ; i < samples . length ; i ++ ) {
@@ -318,7 +318,7 @@ export class ActivityGraphFillComputer {
318318 continue ;
319319 }
320320
321- const category = samples . category [ i ] ;
321+ const category = sampleCategories [ i ] ;
322322
323323 const bufferIndex =
324324 sampleSelectedStates [ i ] & SELECTED_STATE_BUFFER_INDEX_MASK ;
You can’t perform that action at this time.
0 commit comments