Increase flood fill stroke width

This commit is contained in:
Naveen 2023-03-11 07:18:53 +05:30
parent fd6548c08d
commit e11ce9be70
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ class MyCanvas(context: Context, attrs: AttributeSet) : View(context, attrs) {
ensureBackgroundThread {
val path = bitmap.vectorFloodFill(color = color, x = touchedX, y = touchedY, tolerance = FLOOD_FILL_TOLERANCE)
val paintOpts = PaintOptions(color = color, strokeWidth = 4f)
val paintOpts = PaintOptions(color = color, strokeWidth = 5f)
addOperation(path, paintOpts)
post { invalidate() }
}