fixing first song item to playpause video preview
This commit is contained in:
parent
1cac1e071a
commit
4ced8bc4a0
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,8 @@ Item {
|
||||||
spacing: Kirigami.Units.gridUnit
|
spacing: Kirigami.Units.gridUnit
|
||||||
synchronousDrag: true
|
synchronousDrag: true
|
||||||
delegate: Loader {
|
delegate: Loader {
|
||||||
|
property var mpvDuration: representation.mpvDuration
|
||||||
|
property var mpvPosition: representation.mpvPosition
|
||||||
width: slideList.width
|
width: slideList.width
|
||||||
height: width * 9 / 16
|
height: width * 9 / 16
|
||||||
Presenter.Slide {
|
Presenter.Slide {
|
||||||
|
@ -80,6 +82,9 @@ Item {
|
||||||
implicitHeight: width * 9 / 16
|
implicitHeight: width * 9 / 16
|
||||||
itemType: "song"
|
itemType: "song"
|
||||||
}
|
}
|
||||||
|
function playPauseVideo() {
|
||||||
|
representation.playPauseVideo();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Kirigami.WheelHandler {
|
Kirigami.WheelHandler {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue