mirror of
https://github.com/status-im/react-native-camera.git
synced 2025-02-24 09:48:17 +00:00
adjusted rotation should be that of camera, not display (#393)
This commit is contained in:
parent
696d55af01
commit
6834e594f4
@ -305,7 +305,7 @@ public class RCTCamera {
|
||||
cameraInfo.rotation = rotation;
|
||||
// TODO: take in account the _orientation prop
|
||||
|
||||
setAdjustedDeviceOrientation(displayRotation);
|
||||
setAdjustedDeviceOrientation(rotation);
|
||||
camera.setDisplayOrientation(displayRotation);
|
||||
|
||||
Camera.Parameters parameters = camera.getParameters();
|
||||
|
Loading…
x
Reference in New Issue
Block a user