feat: bullet lists for some descriptions in profile editor

This commit is contained in:
Gabriele Musco 2023-12-27 11:16:41 +00:00
parent ee071d1e25
commit f6faf38896
3 changed files with 7 additions and 7 deletions

View file

@ -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")
}

View file

@ -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()

View file

@ -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.",