詹子聪 5 lat temu
rodzic
commit
f04725ab16

+ 2 - 1
app/src/main/java/com/miekir/ocr/widget/CropView.java

@@ -43,7 +43,8 @@ public class CropView extends View {
     private static final int minHeight = 250;/*the minimum height of the rectangle*/
 
     private static final float EDGE_WIDTH = 1.8f;
-    private static final int ACCURACY = 35;/*touch accuracy*/
+    // 否触发宽高改变的范围
+    private static final int ACCURACY = 36;/*touch accuracy*/
 
     // 画角度的笔粗细
     private static final float CORNER_STROKE = 6.0f;