ensuring focus stays on keyHandler when presentation is visible
This commit is contained in:
parent
dbb832d0a6
commit
6de04aa71d
1 changed files with 7 additions and 0 deletions
|
@ -274,6 +274,13 @@ FocusScope {
|
|||
/* } */
|
||||
}
|
||||
|
||||
Timer {
|
||||
interval: 500
|
||||
running: true
|
||||
repeat: true
|
||||
onTriggered: root.visible ? keyHandler.forceActiveFocus() : null
|
||||
}
|
||||
|
||||
function pauseVideo() {
|
||||
previewSlide.pauseVideo();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue