main
朱子楚\zhuzi 2023-03-31 13:03:36 +08:00
parent 936a310ca6
commit 1b97b197a4
1 changed files with 7 additions and 3 deletions

View File

@ -44,10 +44,9 @@ Rectangle {
onMediaStatusChanged:
(status)=> {
if(status===2){
mediaplayer.play()
}else if(status===5){
slider.maxValue = mediaplayer.duration
showControl = true
mediaplayer.play()
}
}
}
@ -70,10 +69,15 @@ Rectangle {
leftMargin: 10
rightMargin: 10
}
opacity: showControl
MouseArea{
anchors.fill: parent
}
Behavior on opacity{
NumberAnimation{
duration: 150
}
}
Behavior on y{
NumberAnimation{
duration: 150