fixing some small bugs

This commit is contained in:
Chris Cochrun 2022-03-16 07:21:30 -05:00
parent c35c0f6550
commit 5a1fa3fc75
5 changed files with 12 additions and 7 deletions

View file

@ -87,7 +87,7 @@ Item {
border.color: Kirigami.Theme.activeBackgroundColor
border.width: 2
}
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutsideParent
closePolicy: Controls.Popup.CloseOnEscape | Controls.Popup.CloseOnPressOutsideParent
ColumnLayout {
anchors.fill: parent
Controls.ToolButton {
@ -171,7 +171,6 @@ Item {
onFileLoaded: {
showPassiveNotification(video.title + " has been loaded");
videoPreview.pause();
/* showPassiveNotification(mpv.getProperty("loop")); */
}
}
Rectangle {
@ -202,7 +201,7 @@ Item {
from: 0
to: videoPreview.duration
/* value: videoPreview.postion */
live: false
live: true
onMoved: videoPreview.seek(value);
}
}
@ -224,4 +223,6 @@ Item {
/* showPassiveNotification(video[0]); */
}
}
function prePop() { videoPreview.stop() }
}