fixing some text and adding prev actions to reveal

This commit is contained in:
Chris Cochrun 2023-12-07 06:38:41 -06:00
parent 3f9a1714c4
commit c36802f5e4
3 changed files with 10 additions and 1 deletions

View file

@ -415,6 +415,9 @@ FocusScope {
function onRevealNext() { function onRevealNext() {
previewSlide.revealNext(); previewSlide.revealNext();
} }
function onRevealPrev() {
previewSlide.revealPrev();
}
} }
/* Connections { */ /* Connections { */

View file

@ -89,6 +89,12 @@ Item {
else else
presentationSlide.stopAudio(); presentationSlide.stopAudio();
} }
function onRevealNext() {
presentationSlide.revealNext();
}
function onRevealPrev() {
presentationSlide.revealPrev();
}
} }
function loadVideo() { function loadVideo() {

View file

@ -145,7 +145,7 @@ Item {
Controls.Label { Controls.Label {
id: lyrics id: lyrics
text: root.text text: root.text
/* text: root.width / textSize */ /* text: root.width / 1000 * root.textSize */
font.pixelSize: root.width / 1000 * root.textSize font.pixelSize: root.width / 1000 * root.textSize
/* minimumPointSize: 5 */ /* minimumPointSize: 5 */
fontSizeMode: Text.Fit fontSizeMode: Text.Fit