react-native-rectangle-doc-scanner 7.59.0 → 7.60.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.
|
@@ -661,10 +661,10 @@ class CameraController(
|
|
|
661
661
|
if (viewWidth == 0f || viewHeight == 0f) return
|
|
662
662
|
|
|
663
663
|
val rotationDegrees = computeRotationDegrees()
|
|
664
|
-
val transformRotation =
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
rotationDegrees
|
|
664
|
+
val transformRotation = when (rotationDegrees) {
|
|
665
|
+
90 -> 270
|
|
666
|
+
270 -> 90
|
|
667
|
+
else -> rotationDegrees
|
|
668
668
|
}
|
|
669
669
|
Log.d(
|
|
670
670
|
TAG,
|