Skip to content

Commit

Permalink
fix: correctly screen element after moveTo
Browse files Browse the repository at this point in the history
  • Loading branch information
DudaGod committed May 16, 2024
1 parent 03bff88 commit b728078
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/browser/client-scripts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ function prepareScreenshotUnsafe(areas, opts) {
top: util.getScrollTop(scrollElem),
width: viewportWidth,
height: viewportHeight
}),
}).round(),
pixelRatio = configurePixelRatio(opts.usePixelRatio),
rect,
selectors = [];
Expand Down

0 comments on commit b728078

Please sign in to comment.