fixing html visibility in live mode

This commit is contained in:
Chris Cochrun 2023-08-07 07:33:41 -05:00
parent e80f0216ae
commit ffb4da1432
2 changed files with 4 additions and 4 deletions

View file

@ -49,9 +49,9 @@ Item {
Presenter.Slide {
id: presentationSlide
anchors.fill: parent
imageSource: SlideObj.imageBackground
webSource: SlideObj.html
htmlVisible: SlideObj.html.endsWith(".html")
imageSource: SlideObj.imageBackground.endsWith(".html") ? "" : SlideObj.imageBackground
webSource: SlideObj.imageBackground.endsWith(".html") ? SlideObj.imageBackground : ""
htmlVisible: SlideObj.imageBackground.endsWith(".html")
videoSource: presentationWindow.visible ? SlideObj.videoBackground : ""
audioSource: SlideObj.audio
text: SlideObj.text

View file

@ -179,7 +179,7 @@ Item {
visible: htmlVisible
onLoadingChanged: {
if (loadRequest.status == 2)
showPassiveNotification("YAHOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!");
showPassiveNotification("yahoo?");
}
}
}