fixing first song item to playpause video preview

This commit is contained in:
Chris Cochrun 2022-10-13 13:24:04 -05:00
parent 1cac1e071a
commit 4ced8bc4a0

View file

@ -63,6 +63,8 @@ Item {
spacing: Kirigami.Units.gridUnit
synchronousDrag: true
delegate: Loader {
property var mpvDuration: representation.mpvDuration
property var mpvPosition: representation.mpvPosition
width: slideList.width
height: width * 9 / 16
Presenter.Slide {
@ -80,6 +82,9 @@ Item {
implicitHeight: width * 9 / 16
itemType: "song"
}
function playPauseVideo() {
representation.playPauseVideo();
}
}
Kirigami.WheelHandler {