fix OTA
This commit is contained in:
@@ -192,16 +192,21 @@ Item {
|
||||
if (circle.holding) {
|
||||
circle.holding = false
|
||||
btnController.invokeButton(btnId)
|
||||
resetAnim.restart()
|
||||
holdLingerTimer.restart()
|
||||
}
|
||||
}
|
||||
}
|
||||
Timer {
|
||||
id: holdLingerTimer
|
||||
interval: 700
|
||||
onTriggered: resetAnim.restart()
|
||||
}
|
||||
NumberAnimation {
|
||||
id: resetAnim
|
||||
target: circle
|
||||
property: "holdProgress"
|
||||
to: 0.0
|
||||
duration: 220
|
||||
duration: 400
|
||||
easing.type: Easing.OutCubic
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user