mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 09:48:44 +02:00
Focus fix
This commit is contained in:
parent
520ceebf5b
commit
0543709081
1 changed files with 3 additions and 2 deletions
|
@ -198,10 +198,11 @@ StackView {
|
||||||
color: hifiStyleConstants.colors.lightGray
|
color: hifiStyleConstants.colors.lightGray
|
||||||
opacity: 0.1
|
opacity: 0.1
|
||||||
MouseArea {
|
MouseArea {
|
||||||
anchors.fill: parent
|
anchors.fill: parent;
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (!addressLine.focus || !HMD.active) {
|
if (!addressLine.focus || !HMD.active) {
|
||||||
addressLine.focus = true;
|
addressLine.focus = true;
|
||||||
|
addressLine.forceActiveFocus();
|
||||||
addressBarDialog.keyboardEnabled = HMD.active;
|
addressBarDialog.keyboardEnabled = HMD.active;
|
||||||
} else {
|
} else {
|
||||||
addressLine.focus = false;
|
addressLine.focus = false;
|
||||||
|
@ -516,7 +517,7 @@ StackView {
|
||||||
|
|
||||||
function updateLocationText(enteringAddress) {
|
function updateLocationText(enteringAddress) {
|
||||||
if (enteringAddress) {
|
if (enteringAddress) {
|
||||||
notice.text = "Go to a place, @user, path or network address";
|
notice.text = "Go To a place, @user, path, or network address:";
|
||||||
notice.color = hifiStyleConstants.colors.baseGrayHighlight;
|
notice.color = hifiStyleConstants.colors.baseGrayHighlight;
|
||||||
} else {
|
} else {
|
||||||
notice.text = AddressManager.isConnected ? "Your location:" : "Not Connected";
|
notice.text = AddressManager.isConnected ? "Your location:" : "Not Connected";
|
||||||
|
|
Loading…
Reference in a new issue