react-native-rectangle-doc-scanner 10.17.0 → 10.18.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.
|
@@ -495,7 +495,8 @@ class CameraController(
|
|
|
495
495
|
Log.d(TAG, "[TRANSFORM] Applying rotation: ${rotationDegrees}°")
|
|
496
496
|
|
|
497
497
|
if (rotationDegrees != 0f) {
|
|
498
|
-
matrix
|
|
498
|
+
// TextureView matrix rotation direction can be opposite of expectation on some devices.
|
|
499
|
+
matrix.postRotate(-rotationDegrees, centerX, centerY)
|
|
499
500
|
}
|
|
500
501
|
|
|
501
502
|
// After rotation, determine effective buffer size
|
package/package.json
CHANGED