akshay2211 / DrawBox

DrawBox is a multi-purpose tool to draw anything on canvas, written completely on jetpack compose.
https://ak1.io/DrawBox/
Apache License 2.0
296 stars 40 forks source link

The lateral sliding fails, and the drawing image cannot be converted to bitmap normally #39

Open BastJavaCoder opened 1 year ago

BastJavaCoder commented 1 year ago

Describe the bug The lateral sliding fails, and the drawing image cannot be converted to bitmap normally

DrawBox( modifier = Modifier.fillMaxSize(), drawController = drawController, bitmapCallback = { img,e -> Log.d(TAG, "SignatureBoard: ${e?.message}") image=img }, backgroundColor = Color(0xFFFFFFFF) ) logs: W/HiTouch_PressGestureDetector: Touch pointer move a lot. The moving distance of X is:35.266876, limit is:60The moving distance of Y is:65.754395, limit is:60