mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-11-20 00:46:34 +00:00
Fix formatting + clippy
This commit is contained in:
parent
5bbb4f4321
commit
3ecebb8efd
3 changed files with 2 additions and 10 deletions
|
@ -60,13 +60,6 @@ pub const WHITE: ResColor = ResColor {
|
|||
a: 0,
|
||||
};
|
||||
|
||||
pub const BLACK: ResColor = ResColor {
|
||||
r: 0,
|
||||
g: 0,
|
||||
b: 0,
|
||||
a: 0,
|
||||
};
|
||||
|
||||
pub static PER_LOG_FRAME_COUNTER: Lazy<usize> =
|
||||
Lazy::new(|| frame_counter::register_counter(frame_counter::FrameCounterType::InGameNoReset));
|
||||
pub static OVERALL_FRAME_COUNTER: Lazy<usize> =
|
||||
|
|
|
@ -7,7 +7,7 @@ use training_mod_consts::{InputDisplay, MENU};
|
|||
use crate::{
|
||||
common::{consts::status_display_name, menu::QUICK_MENU_ACTIVE},
|
||||
training::{
|
||||
input_log::{DirectionStrength, InputLog, WHITE, P1_INPUT_LOGS, YELLOW},
|
||||
input_log::{DirectionStrength, InputLog, P1_INPUT_LOGS, WHITE, YELLOW},
|
||||
ui::{fade_out, menu::VANILLA_MENU_ACTIVE},
|
||||
},
|
||||
};
|
||||
|
|
|
@ -823,8 +823,7 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
|
|||
misc_tab.add_submenu_with_toggles::<OnOff>(
|
||||
"Input Display Status".to_string(),
|
||||
"input_display_status".to_string(),
|
||||
"Input Display Status: Group input logs by status in which they occurred"
|
||||
.to_string(),
|
||||
"Input Display Status: Group input logs by status in which they occurred".to_string(),
|
||||
true,
|
||||
&(menu.input_display_status as u32),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue