mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 13:43:49 +02:00
trying to fix focus issue
This commit is contained in:
parent
9e2768cc84
commit
2a59139c76
1 changed files with 3 additions and 0 deletions
|
@ -35,6 +35,8 @@ StackView {
|
|||
|
||||
Component { id: tabletStoryCard; TabletStoryCard {} }
|
||||
Component.onCompleted: {
|
||||
root.currentItem.focus = true;
|
||||
root.currentItem.forceActiveFocus();
|
||||
fillDestinations();
|
||||
updateLocationText();
|
||||
root.parentChanged.connect(center);
|
||||
|
@ -199,6 +201,7 @@ StackView {
|
|||
onClicked: {
|
||||
isCursorVisible = true;
|
||||
parent.cursorVisible = true;
|
||||
parent.focus = true;
|
||||
parent.forceActiveFocus();
|
||||
addressBarDialog.keyboardEnabled = HMD.active
|
||||
tabletRoot.playButtonClickSound();
|
||||
|
|
Loading…
Reference in a new issue