react-native-rectangle-doc-scanner 7.58.0 → 7.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -662,9 +662,9 @@ class CameraController(
|
|
|
662
662
|
|
|
663
663
|
val rotationDegrees = computeRotationDegrees()
|
|
664
664
|
val transformRotation = if (useFrontCamera) {
|
|
665
|
-
rotationDegrees
|
|
666
|
-
} else {
|
|
667
665
|
(360 - rotationDegrees) % 360
|
|
666
|
+
} else {
|
|
667
|
+
rotationDegrees
|
|
668
668
|
}
|
|
669
669
|
Log.d(
|
|
670
670
|
TAG,
|