updated connection instructions

This commit is contained in:
David Kelly 2017-04-06 15:21:10 -07:00
parent 3c6429cdf3
commit 179a445f59

View file

@ -916,17 +916,28 @@ Rectangle {
color: hifi.colors.darkGray color: hifi.colors.darkGray
wrapMode: Text.WordWrap wrapMode: Text.WordWrap
textFormat: Text.StyledText; textFormat: Text.StyledText;
property string hmdMountedInstructions:
"1. Put your hand out onto their hand and squeeze your controller's grip button on its side.<br>" +
"2. Once the other person puts their hand onto yours, you'll see your connection form.<br>" +
"3. After about 3 seconds, you're connected!"
property string hmdNotMountedInstructions:
"1. Press and hold the 'x' key to extend your arm.<br>" +
"2. Once the other person puts their hand onto yours, you'll see your connection form.<br>" +
"3. After about 3 seconds, you're connected!";
property string notLoggedInInstructions: "<b><font color='red'>You must be logged into your High Fidelity account to make connections.</b></font><br>"
property string instructions:
"<b>When you meet someone you want to remember later, you can <font color='purple'>connect</font> with a handshake:</b><br><br>"
// Text // Text
text: HMD.isMounted ? text:
"<b>When you meet someone you want to remember later, you can <font color='purple'>connect</font> with a handshake:</b><br><br>" + Account.isLoggedIn() ?
"1. Put your hand out onto their hand and squeeze your controller's grip button on its side.<br>" + HMD.isMounted ?
"2. Once the other person puts their hand onto yours, you'll see your connection form.<br>" + instructions + hmdMountedInstructions
"3. After about 3 seconds, you're connected!" : instructions + hmdNotMountedInstructions
: :
"<b>When you meet someone you want to remember later, you can <font color='purple'>connect</font> with a handshake:</b><br><br>" + HMD.isMounted ?
"1. Press and hold the 'x' key to extend your arm.<br>" + notLoggedInInstructions + instructions + hmdMountedInstructions
"2. Once the other person puts their hand onto yours, you'll see your connection form.<br>" + : notLoggedInInstructions + instructions + hmdNotMountedInstructions
"3. After about 3 seconds, you're connected!";
} }
} }