increase the tolerance even further

This commit is contained in:
Tibor Kaputa 2022-10-11 12:25:07 +02:00 committed by GitHub
parent 944848a159
commit 77ddee33a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@ class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
private val MIN_ERASER_WIDTH = 20f
private val MAX_HISTORY_COUNT = 1000
private val BITMAP_MAX_HISTORY_COUNT = 60
private val DEFAULT_FLOOD_FILL_TOLERANCE = 160
private val DEFAULT_FLOOD_FILL_TOLERANCE = 200
private val mScaledTouchSlop = ViewConfiguration.get(context).scaledTouchSlop