react-native-rectangle-doc-scanner 3.234.0 → 3.235.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.
|
@@ -241,7 +241,7 @@ class DocumentDetector {
|
|
|
241
241
|
return RectangleQuality.TOO_FAR
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
val minDim = min(viewWidth.toDouble(), viewHeight.toDouble())
|
|
244
|
+
val minDim = kotlin.math.min(viewWidth.toDouble(), viewHeight.toDouble())
|
|
245
245
|
val angleThreshold = max(60.0, minDim * 0.05)
|
|
246
246
|
|
|
247
247
|
val topYDiff = abs(rectangle.topRight.y - rectangle.topLeft.y)
|
package/package.json
CHANGED