Skip to content

Commit

Permalink
Merge pull request react-native-camera#2737 from stvdrsch/master
Browse files Browse the repository at this point in the history
Typo
  • Loading branch information
MateusAndrade committed Mar 12, 2020
2 parents 38c5197 + 745e8de commit 944c304
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/RNCamera.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ Use the `autoFocus` property to specify the auto focus setting of your camera. `
Values: Object `{ x: 0.5, y: 0.5 }`.
Values (iOS): Object `{ x: 0.5, y: 0.5, autoExposure }`.

Setting this property causes the auto focus feature of the camera to attempt to focus on the part of the image at this coordiate.
Setting this property causes the auto focus feature of the camera to attempt to focus on the part of the image at this coordinate.

Coordinates values are measured as floats from `0` to `1.0`. `{ x: 0, y: 0 }` will focus on the top left of the image, `{ x: 1, y: 1 }` will be the bottom right. Values are based on landscape mode with the home button on the right—this applies even if the device is in portrait mode.

Expand Down

0 comments on commit 944c304

Please sign in to comment.