fixing looping not working after switching to Rust
This commit is contained in:
parent
d02a13ee73
commit
d8d1071c77
2 changed files with 8 additions and 0 deletions
|
@ -325,6 +325,10 @@ FocusScope {
|
|||
}
|
||||
playVideo();
|
||||
}
|
||||
function onLoopingChanged() {
|
||||
if(SlideObject.looping)
|
||||
previewSlide.loopVideo();
|
||||
}
|
||||
function onIsPlayingChanged() {
|
||||
if(SlideObject.isPlaying)
|
||||
previewSlide.playVideo();
|
||||
|
|
|
@ -79,6 +79,10 @@ Item {
|
|||
presentationSlide.playVideo();
|
||||
pauseVideo();
|
||||
}
|
||||
function onLoopingChanged() {
|
||||
if(SlideObj.looping)
|
||||
presentationSlide.loopVideo();
|
||||
}
|
||||
function onAudioChanged() {
|
||||
if (presentationWindow.visible)
|
||||
presentationSlide.playAudio();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue