Skip to content

Commit 0aff29a

Browse files
committed
fix: correctly screen element after moveTo
1 parent 63ff66e commit 0aff29a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/browser/client-scripts/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function prepareScreenshotUnsafe(areas, opts) {
7979
top: util.getScrollTop(scrollElem),
8080
width: viewportWidth,
8181
height: viewportHeight
82-
}),
82+
}).round(),
8383
pixelRatio = configurePixelRatio(opts.usePixelRatio),
8484
rect,
8585
selectors = [];

0 commit comments

Comments
 (0)