1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2024-11-30 22:00:16 +00:00

Menu ordering for recording crop

This commit is contained in:
jugeeya 2023-08-23 09:44:59 -07:00 committed by GitHub
parent dd8c49c04b
commit 2cfebf3a06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -823,7 +823,7 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
misc_tab.add_submenu_with_toggles::<UpdatePolicy>(
"Auto-Update".to_string(),
"update_policy".to_string(),
"Auto-Update: What type of Training Modpack updates to automatically apply. (CONSOLE ONLY)"
"Auto-Update: What type of Training Modpack updates to automatically apply. (Console Only!)"
.to_string(),
true,
&(menu.update_policy as u32),
@ -850,12 +850,19 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
&(menu.record_trigger.bits() as u32),
);
input_tab.add_submenu_with_toggles::<RecordingFrames>(
"Recording Frames".to_string(),
"Recording Duration".to_string(),
"recording_frames".to_string(),
"Recording Frames: Number of frames to record for in the current slot".to_string(),
"Recording Duration: Number of frames to record for in the current slot".to_string(),
true,
&(menu.recording_frames as u32),
);
input_tab.add_submenu_with_toggles::<OnOff>(
"Recording Crop".to_string(),
"recording_crop".to_string(),
"Recording Crop: Remove neutral input frames at the end of your recording".to_string(),
true,
&(menu.recording_crop as u32),
);
input_tab.add_submenu_with_toggles::<PlaybackSlot>(
"Playback Button Combination".to_string(),
"playback_button_combination".to_string(),
@ -884,13 +891,6 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
true,
&(menu.playback_loop as u32),
);
input_tab.add_submenu_with_toggles::<OnOff>(
"Recording Crop".to_string(),
"recording_crop".to_string(),
"Recording Crop: Remove neutral input frames at the end of your recording".to_string(),
true,
&(menu.recording_crop as u32),
);
overall_menu.tabs.push(input_tab);
overall_menu