adding overload function for pdfs

This commit is contained in:
Chris Cochrun 2022-09-23 06:38:26 -05:00
parent ed58e2cda1
commit e4b97b901f
4 changed files with 57 additions and 5 deletions

View file

@ -134,11 +134,14 @@ Controls.Page {
print("index grabbed: " + index);
print(item);
presentation.stopVideo()
presentation.stopVideo();
presentation.itemType = item.type;
print("Time to start changing");
SlideObject.changeSlide(item);
if (item.type == "pres")
SlideObject.changeSlide(item);
else
SlideObject.changeSlide(item);
if (item.backgroundType === "video")
{