Skip to content

Commit

Permalink
#16
Browse files Browse the repository at this point in the history
  • Loading branch information
Bunlong committed Jun 29, 2023
2 parents 3bcbaa0 + 2655b49 commit 2aede05
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ScreenCapture.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,8 @@ export default class ScreenCapture extends Component<Props, State> {

cropWidth *= window.devicePixelRatio;
cropHeigth *= window.devicePixelRatio;
cropPositionLeft *= window.devicePixelRatio;
cropPositionTop *= window.devicePixelRatio;

this.setState({
crossHairsTop: e.clientY,
Expand Down

0 comments on commit 2aede05

Please sign in to comment.