mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +02:00
Fix undefined color in address bar
This commit is contained in:
parent
07a542e35d
commit
7e874510e3
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ Item {
|
||||||
location.visible = false;
|
location.visible = false;
|
||||||
} else {
|
} else {
|
||||||
notice.text = AddressManager.isConnected ? "YOUR LOCATION:" : "NOT CONNECTED";
|
notice.text = AddressManager.isConnected ? "YOUR LOCATION:" : "NOT CONNECTED";
|
||||||
notice.color = AddressManager.isConnected ? hifiStyleConstants.colors.turquoise : hifiStyleConstants.colors.redHighlight;
|
notice.color = AddressManager.isConnected ? hifiStyleConstants.colors.blueHighlight : hifiStyleConstants.colors.redHighlight;
|
||||||
// Display hostname, which includes ip address, localhost, and other non-placenames.
|
// Display hostname, which includes ip address, localhost, and other non-placenames.
|
||||||
location.text = (AddressManager.placename || AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : '');
|
location.text = (AddressManager.placename || AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : '');
|
||||||
location.visible = true;
|
location.visible = true;
|
||||||
|
|
Loading…
Reference in a new issue