Skip to content
This repository has been archived by the owner on Jul 26, 2024. It is now read-only.

Fix drawRect method of ImageView helper #6

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helpers/LSF/ImageView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const ImageView = {
.scrollIntoView()
.trigger('mousedown', x, y, { eventConstructor: 'MouseEvent' })
.trigger('mousemove', x + width, y + height, { eventConstructor: 'MouseEvent' })
.trigger('mouseup', { eventConstructor: 'MouseEvent' });
.trigger('mouseup', x + width, y + height,{ eventConstructor: 'MouseEvent' });
},
/**
* Captures a screenshot of an element to compare later
Expand Down