Update compileSdk to 34.

This commit is contained in:
Alex Hart
2023-08-17 15:31:16 -03:00
committed by Cody Henthorne
parent f9d9af4fe9
commit ea5c3a7c5e
6 changed files with 16 additions and 16 deletions

View File

@@ -187,7 +187,7 @@ class RotationDialView @JvmOverloads constructor(
return true
}
override fun onScroll(e1: MotionEvent, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean {
override fun onScroll(e1: MotionEvent?, e2: MotionEvent, distanceX: Float, distanceY: Float): Boolean {
val degreeIncrement: Float = distanceX / dimensions.spaceBetweenAngleIndicators
val prevDialDegrees = getDialDegrees(degrees)
val newDialDegrees = getDialDegrees(degrees + degreeIncrement)