From 4ced8bc4a05cfa5d33e9cc305bebd6cd362df84c Mon Sep 17 00:00:00 2001 From: Chris Cochrun Date: Thu, 13 Oct 2022 13:24:04 -0500 Subject: [PATCH] fixing first song item to playpause video preview --- src/qml/presenter/SlideEditor.qml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/qml/presenter/SlideEditor.qml b/src/qml/presenter/SlideEditor.qml index f475f06..33285f7 100644 --- a/src/qml/presenter/SlideEditor.qml +++ b/src/qml/presenter/SlideEditor.qml @@ -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 {