mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-04-20 19:44:50 +00:00
feat: bullet lists for some descriptions in profile editor
This commit is contained in:
parent
ee071d1e25
commit
f6faf38896
3 changed files with 7 additions and 7 deletions
|
@ -22,7 +22,7 @@ pub static ENV_VAR_DESCRIPTIONS: Map<&str, &str> = phf_map! {
|
|||
pub fn env_var_descriptions_as_paragraph() -> String {
|
||||
ENV_VAR_DESCRIPTIONS
|
||||
.into_iter()
|
||||
.map(|(k, v)| format!("{}: {}", k, v))
|
||||
.map(|(k, v)| format!(" \u{2022} <b>{}</b>: {}", k, v))
|
||||
.collect::<Vec<String>>()
|
||||
.join("\n\n")
|
||||
}
|
||||
|
|
|
@ -146,9 +146,9 @@ impl SimpleComponent for ProfileEditor {
|
|||
"Lighthouse Driver",
|
||||
Some(concat!(
|
||||
"Driver for lighhouse tracked XR devices (ie: Valve Index, HTC Vive...). Only applicable for Monado.\n\n",
|
||||
"Vive: 3DOF tracking\n\n",
|
||||
"Survive: 6DOF reverse engineered lighthouse tracking provided by Libsurvive\n\n",
|
||||
"SteamVR: 6DOF lighthouse tracking using the proprietary SteamVR driver",
|
||||
" \u{2022} Vive: 3DOF tracking\n",
|
||||
" \u{2022} Survive: 6DOF reverse engineered lighthouse tracking provided by Libsurvive\n",
|
||||
" \u{2022} SteamVR: 6DOF lighthouse tracking using the proprietary SteamVR driver",
|
||||
)),
|
||||
model.profile.borrow().lighthouse_driver.to_string().as_str(),
|
||||
LighthouseDriver::iter()
|
||||
|
|
|
@ -69,11 +69,11 @@ impl SimpleComponent for SteamVrCalibrationBox {
|
|||
set_hexpand: true,
|
||||
set_label: concat!(
|
||||
"Run a quick SteamVR calibration.\n\n",
|
||||
"\u{2022} Plug in your HMD and place it on the floor, ",
|
||||
" \u{2022} Plug in your HMD and place it on the floor, ",
|
||||
"approximately in the middle of your play area\n",
|
||||
"\u{2022} Make sure your controllers and other VR devices ",
|
||||
" \u{2022} Make sure your controllers and other VR devices ",
|
||||
"are turned off\n",
|
||||
"\u{2022} Click the Calibrate button and wait for the ",
|
||||
" \u{2022} Click the Calibrate button and wait for the ",
|
||||
"process to finish\n\n",
|
||||
"Note that the orientation of your HMD during this process ",
|
||||
"will dictate the forward direction of your play area.",
|
||||
|
|
Loading…
Add table
Reference in a new issue