fixing some text and adding prev actions to reveal
This commit is contained in:
parent
3f9a1714c4
commit
c36802f5e4
3 changed files with 10 additions and 1 deletions
|
@ -415,6 +415,9 @@ FocusScope {
|
||||||
function onRevealNext() {
|
function onRevealNext() {
|
||||||
previewSlide.revealNext();
|
previewSlide.revealNext();
|
||||||
}
|
}
|
||||||
|
function onRevealPrev() {
|
||||||
|
previewSlide.revealPrev();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Connections { */
|
/* Connections { */
|
||||||
|
|
|
@ -89,6 +89,12 @@ Item {
|
||||||
else
|
else
|
||||||
presentationSlide.stopAudio();
|
presentationSlide.stopAudio();
|
||||||
}
|
}
|
||||||
|
function onRevealNext() {
|
||||||
|
presentationSlide.revealNext();
|
||||||
|
}
|
||||||
|
function onRevealPrev() {
|
||||||
|
presentationSlide.revealPrev();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function loadVideo() {
|
function loadVideo() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue