Skip to content

Commit

Permalink
chore: typos (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianteeman authored Jul 22, 2023
1 parent 5bfe88a commit ff86523
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/client/components/Cell/CellImageOutline.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,19 @@ function getScreenshotPositions(elementRectSC, elementPreviewSizeSC, screenshotS
elementRectCenter.x - elementPreviewSizeSC.width / 2,
0, screenshotSize.width - elementPreviewSizeSC.width,
)
const screenshotTopVisisbleEdge = clamp(
const screenshotTopVisibleEdge = clamp(
elementRectCenter.y - elementPreviewSizeSC.height / 2,
0, screenshotSize.height - elementPreviewSizeSC.height,
)
return {
screenshot: {
left: screenshotLeftVisibleEdge,
top: screenshotTopVisisbleEdge,
top: screenshotTopVisibleEdge,
},
clip: {
left: elementRectSC.left - screenshotLeftVisibleEdge,
top: elementRectSC.top - screenshotTopVisisbleEdge,
top: elementRectSC.top - screenshotTopVisibleEdge,
},
}
}
Expand Down

0 comments on commit ff86523

Please sign in to comment.