SparkLineLayout icon indicating copy to clipboard operation
SparkLineLayout copied to clipboard

Redrawing graph while using Split Line causes onDraw overdraw of plotted paths

Open jishhd opened this issue 5 years ago • 0 comments

https://github.com/majorkik/SparkLineLayout/blob/f634990311d59c36b381d2636138a374cbb9e4c1/sparklinelibrary/src/main/java/com/majorik/sparklinelibrary/SparkLineLayout.kt#L187

Fixed this locally with:

pathSparkLine.reset()
pathLineLeft.reset()
pathLineRight.reset()

When onDraw is re-called

jishhd avatar Dec 29 '20 18:12 jishhd