Getting some functionality in switching slides
This commit is contained in:
parent
1fa5aa8a0a
commit
cc8f447166
7 changed files with 72 additions and 4 deletions
|
@ -155,7 +155,8 @@ Controls.Page {
|
|||
/* showPassiveNotification("used to be: " + presentation.text); */
|
||||
presentation.text = text;
|
||||
/* showPassiveNotification("next"); */
|
||||
presentationSlide.text = text;
|
||||
if (slideItem)
|
||||
slideItem.text = text;
|
||||
/* showPassiveNotification("last"); */
|
||||
}
|
||||
|
||||
|
@ -166,13 +167,31 @@ Controls.Page {
|
|||
if (type == "image") {
|
||||
presentation.vidbackground = "";
|
||||
presentation.imagebackground = background;
|
||||
if (slideItem) {
|
||||
slideItem.videoSource = "";
|
||||
slideItem.stopVideo();
|
||||
slideItem.imageSource = background;
|
||||
}
|
||||
} else {
|
||||
presentation.imagebackground = "";
|
||||
presentation.vidbackground = background;
|
||||
presentation.loadVideo()
|
||||
if (slideItem) {
|
||||
slideItem.imageSource = "";
|
||||
slideItem.videoSource = background;
|
||||
slideItem.loadVideo()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function changeSlideNext() {
|
||||
showPassiveNotification("next slide please")
|
||||
}
|
||||
|
||||
function changeSlidePrevious() {
|
||||
showPassiveNotification("previous slide please")
|
||||
}
|
||||
|
||||
function editSwitch(edit) {
|
||||
if (edit)
|
||||
mainPageArea.push(songEditorComp, Controls.StackView.Immediate)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue