Skip to content

Commit

Permalink
fix(text): opt code
Browse files Browse the repository at this point in the history
  • Loading branch information
chengkong.zxx committed Aug 22, 2024
1 parent b288145 commit 18110eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/RenderPipeline/PrimitiveChunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ export class PrimitiveChunk {
return;
}

const { start, size } = area;
const end = start + size;
const pool = PrimitiveChunk.areaPool;
for (let i = 0; i < areaLen; ++i) {
const curFreeArea = freeAreas[i];
const { start, size } = area;
const end = start + size;
const curStart = curFreeArea.start;
const curEnd = curStart + curFreeArea.size;

Expand Down

0 comments on commit 18110eb

Please sign in to comment.