[8.0.0]
[fix] [音乐和音量不实时修改 离开屏幕后变更]
This commit is contained in:
@@ -97,6 +97,11 @@ open class VerticalSeekBar @JvmOverloads constructor(
|
||||
tempSet.applyTo(this)
|
||||
CallerLogger.d(TAG,"新的dy:${draggableButton.translationY}")
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
MotionEvent.ACTION_UP -> {
|
||||
var percentaget = draggableButton.translationY/maxHeightValue
|
||||
if(percentaget>0.99){
|
||||
percentaget = 1.0f
|
||||
@@ -105,12 +110,7 @@ open class VerticalSeekBar @JvmOverloads constructor(
|
||||
percentaget = 0.0f
|
||||
draggableButton.translationY = 0f
|
||||
}
|
||||
|
||||
upDateLight(percentaget)
|
||||
|
||||
}
|
||||
MotionEvent.ACTION_UP -> {
|
||||
|
||||
}
|
||||
else -> {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user