fixing looping not working after switching to Rust

This commit is contained in:
Chris Cochrun 2023-09-28 05:22:16 -05:00
parent d02a13ee73
commit d8d1071c77
2 changed files with 8 additions and 0 deletions

View file

@ -325,6 +325,10 @@ FocusScope {
}
playVideo();
}
function onLoopingChanged() {
if(SlideObject.looping)
previewSlide.loopVideo();
}
function onIsPlayingChanged() {
if(SlideObject.isPlaying)
previewSlide.playVideo();