mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-01-23 04:14:35 +08:00
update
This commit is contained in:
parent
936a310ca6
commit
1b97b197a4
@ -44,10 +44,9 @@ Rectangle {
|
|||||||
onMediaStatusChanged:
|
onMediaStatusChanged:
|
||||||
(status)=> {
|
(status)=> {
|
||||||
if(status===2){
|
if(status===2){
|
||||||
mediaplayer.play()
|
|
||||||
}else if(status===5){
|
|
||||||
slider.maxValue = mediaplayer.duration
|
slider.maxValue = mediaplayer.duration
|
||||||
showControl = true
|
showControl = true
|
||||||
|
mediaplayer.play()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -70,10 +69,15 @@ Rectangle {
|
|||||||
leftMargin: 10
|
leftMargin: 10
|
||||||
rightMargin: 10
|
rightMargin: 10
|
||||||
}
|
}
|
||||||
|
opacity: showControl
|
||||||
MouseArea{
|
MouseArea{
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
|
Behavior on opacity{
|
||||||
|
NumberAnimation{
|
||||||
|
duration: 150
|
||||||
|
}
|
||||||
|
}
|
||||||
Behavior on y{
|
Behavior on y{
|
||||||
NumberAnimation{
|
NumberAnimation{
|
||||||
duration: 150
|
duration: 150
|
||||||
|
Loading…
Reference in New Issue
Block a user