add app icons to Phone and Map
This commit is contained in:
parent
3624adb8d0
commit
9a9791be50
|
@ -65,11 +65,11 @@ pub enum DeathScreenEvent {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub const MENUDEF: &[(&str, MenuAction)] = &[
|
pub const MENUDEF: &[(&str, MenuAction)] = &[
|
||||||
("Phone Call", MenuAction::PhoneCall),
|
("✆ Phone", MenuAction::PhoneCall),
|
||||||
|
("✯ Map\n", MenuAction::ToggleMap),
|
||||||
("", MenuAction::ToggleAR),
|
("", MenuAction::ToggleAR),
|
||||||
("", MenuAction::ChangeARAvatar),
|
("", MenuAction::ChangeARAvatar),
|
||||||
("", MenuAction::ChangePointer),
|
("", MenuAction::ChangePointer),
|
||||||
("", MenuAction::ToggleMap),
|
|
||||||
("", MenuAction::ModLightAmp),
|
("", MenuAction::ModLightAmp),
|
||||||
("", MenuAction::ModFlashlightPower),
|
("", MenuAction::ModFlashlightPower),
|
||||||
("", MenuAction::ModThrusterBoost),
|
("", MenuAction::ModThrusterBoost),
|
||||||
|
@ -600,10 +600,6 @@ pub fn update_menu(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
MenuAction::ToggleMap => {
|
|
||||||
let onoff = bool2string(settings.map_active);
|
|
||||||
text.sections[i].value = format!("Map: {onoff} [M]\n");
|
|
||||||
}
|
|
||||||
MenuAction::ToggleCamera => {
|
MenuAction::ToggleCamera => {
|
||||||
let onoff = if settings.third_person {
|
let onoff = if settings.third_person {
|
||||||
"3rd Person"
|
"3rd Person"
|
||||||
|
|
Loading…
Reference in a new issue