feat: bullet lists for some descriptions in profile editor

This commit is contained in:
Gabriele Musco 2023-12-27 11:16:41 +00:00
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()