Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
helmut-hoffer-von-ankershoffen committed Nov 11, 2024
1 parent 4f83ec1 commit cd22fef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bulkAnnotations/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export const getFeaturesFromBulkAnnotations = ({

const { topLeft, bottomRight } = getViewportBoundingBox({ view, pyramid, affine })

const affine = getAffineBasedOnPyramidLevel({
const cachedAffine = getAffineBasedOnPyramidLevel({
affine,
pyramid,
annotationGroup
Expand Down Expand Up @@ -498,7 +498,7 @@ export const getFeaturesFromBulkAnnotations = ({
if (annotationCoordinateType === '2D') {
firstCoordinate = mapPixelCoordToSlideCoord({
point: [firstCoordinate[0], firstCoordinate[1]],
affine: affine
affine: cachedAffine
})
}

Expand Down

0 comments on commit cd22fef

Please sign in to comment.