mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2025-07-07 02:04:15 +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,
|
a: 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
pub const BLACK: ResColor = ResColor {
|
|
||||||
r: 0,
|
|
||||||
g: 0,
|
|
||||||
b: 0,
|
|
||||||
a: 0,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub static PER_LOG_FRAME_COUNTER: Lazy<usize> =
|
pub static PER_LOG_FRAME_COUNTER: Lazy<usize> =
|
||||||
Lazy::new(|| frame_counter::register_counter(frame_counter::FrameCounterType::InGameNoReset));
|
Lazy::new(|| frame_counter::register_counter(frame_counter::FrameCounterType::InGameNoReset));
|
||||||
pub static OVERALL_FRAME_COUNTER: Lazy<usize> =
|
pub static OVERALL_FRAME_COUNTER: Lazy<usize> =
|
||||||
|
|
|
@ -7,7 +7,7 @@ use training_mod_consts::{InputDisplay, MENU};
|
||||||
use crate::{
|
use crate::{
|
||||||
common::{consts::status_display_name, menu::QUICK_MENU_ACTIVE},
|
common::{consts::status_display_name, menu::QUICK_MENU_ACTIVE},
|
||||||
training::{
|
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},
|
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>(
|
misc_tab.add_submenu_with_toggles::<OnOff>(
|
||||||
"Input Display Status".to_string(),
|
"Input Display Status".to_string(),
|
||||||
"input_display_status".to_string(),
|
"input_display_status".to_string(),
|
||||||
"Input Display Status: Group input logs by status in which they occurred"
|
"Input Display Status: Group input logs by status in which they occurred".to_string(),
|
||||||
.to_string(),
|
|
||||||
true,
|
true,
|
||||||
&(menu.input_display_status as u32),
|
&(menu.input_display_status as u32),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue