mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 19:34:02 +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;
|
||||
} else {
|
||||
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.
|
||||
location.text = (AddressManager.placename || AddressManager.hostname || '') + (AddressManager.pathname ? AddressManager.pathname.match(/\/[^\/]+/)[0] : '');
|
||||
location.visible = true;
|
||||
|
|
Loading…
Reference in a new issue