Skip to content

Commit ed1e6c9

Browse files
authored
Merge pull request #272 from Naveen3Singh/decrease_ff_tolerance
Decrease flood fill tolerance to 1
2 parents 9e01762 + 2efb40d commit ed1e6c9

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/kotlin/com/simplemobiletools/draw/pro/views

1 file changed

+1
-1
lines changed

app/src/main/kotlin/com/simplemobiletools/draw/pro/views/MyCanvas.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import kotlin.math.min
2828
class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
2929
private val MIN_ERASER_WIDTH = 20f
3030
private val MAX_HISTORY_COUNT = 1000
31-
private val FLOOD_FILL_TOLERANCE = 10
31+
private val FLOOD_FILL_TOLERANCE = 1
3232

3333
private val mScaledTouchSlop = ViewConfiguration.get(context).scaledTouchSlop
3434

0 commit comments

Comments
 (0)