Skip to content

Commit

Permalink
SBVT-1247: viewportHeight and width getting data from the domCapture …
Browse files Browse the repository at this point in the history
…now (#65)

Co-authored-by: trevor.nelms <[email protected]>
  • Loading branch information
tnelms1 and trevor.nelms committed Mar 30, 2023
1 parent aa2551e commit 7517469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ let sendImageApiJSON = () => {
let imagePostData = {
imageHeight: picProps.dimensions.height,
imageWidth: picProps.dimensions.width,
viewportHeight: picElements ? picElements[0].clientHeight : dom.viewport.height,
viewportWidth: picElements ? picElements[0].clientWidth : dom.viewport.width,
viewportHeight: dom.viewport.height,
viewportWidth: dom.viewport.width,
sessionId: vtConfFile.sessionId,
imageType: imageType.toLowerCase(),
imageName,
Expand Down

0 comments on commit 7517469

Please sign in to comment.