react-native-rectangle-doc-scanner 7.17.0 → 7.19.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.
@@ -8,7 +8,6 @@ import android.graphics.BitmapFactory
8
8
  import android.graphics.Matrix
9
9
  import android.graphics.SurfaceTexture
10
10
  import android.graphics.Rect
11
- import android.graphics.RectF
12
11
  import android.graphics.ImageFormat
13
12
  import android.hardware.camera2.CameraCaptureSession
14
13
  import android.hardware.camera2.CameraCharacteristics
@@ -570,7 +569,6 @@ class CameraController(
570
569
  val scaledHeight = bufferHeight * scale
571
570
  val dx = (viewWidth - scaledWidth) / 2f
572
571
  val dy = (viewHeight - scaledHeight) / 2f
573
-
574
572
  matrix.setScale(scale, scale)
575
573
  matrix.postTranslate(dx, dy)
576
574
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-rectangle-doc-scanner",
3
- "version": "7.17.0",
3
+ "version": "7.19.0",
4
4
  "description": "Native-backed document scanner for React Native with customizable overlays.",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",