Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion frontend/src/pages/PresentationEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
import { ref, watch, useTemplateRef, provide, onMounted, onBeforeUnmount, inject } from 'vue'
import { useRoute, useRouter, onBeforeRouteLeave } from 'vue-router'

import { call } from 'frappe-ui'
import { call, usePageMeta } from 'frappe-ui'

import EditorNavbar from '@/components/EditorNavbar.vue'
import NavigationPanel from '@/components/NavigationPanel.vue'
Expand Down Expand Up @@ -387,4 +387,10 @@ const openLayoutDialog = (action, index) => {
layoutAction.value = action
insertIndex.value = index
}

usePageMeta(() => {
return {
title: presentationDoc.value?.title || 'Slides',
}
})
</script>
3 changes: 2 additions & 1 deletion frontend/src/pages/Slideshow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,13 +250,14 @@ const slideLeave = (el, done) => {
}

const resetCursorVisibility = () => {
if (slideCursor.value != 'none') return
let cursorTimer

slideCursor.value = 'auto'
clearTimeout(cursorTimer)
cursorTimer = setTimeout(() => {
slideCursor.value = 'none'
}, 3000)
}, 9000)
}

const handleFullScreenChange = () => {
Expand Down
Loading