mirror of
https://github.com/jugeeya/UltimateTrainingModpack.git
synced 2024-12-02 22:59:38 +00:00
Menu ordering for recording crop
This commit is contained in:
parent
dd8c49c04b
commit
2cfebf3a06
1 changed files with 10 additions and 10 deletions
|
@ -823,7 +823,7 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
|
||||||
misc_tab.add_submenu_with_toggles::<UpdatePolicy>(
|
misc_tab.add_submenu_with_toggles::<UpdatePolicy>(
|
||||||
"Auto-Update".to_string(),
|
"Auto-Update".to_string(),
|
||||||
"update_policy".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(),
|
.to_string(),
|
||||||
true,
|
true,
|
||||||
&(menu.update_policy as u32),
|
&(menu.update_policy as u32),
|
||||||
|
@ -850,12 +850,19 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
|
||||||
&(menu.record_trigger.bits() as u32),
|
&(menu.record_trigger.bits() as u32),
|
||||||
);
|
);
|
||||||
input_tab.add_submenu_with_toggles::<RecordingFrames>(
|
input_tab.add_submenu_with_toggles::<RecordingFrames>(
|
||||||
"Recording Frames".to_string(),
|
"Recording Duration".to_string(),
|
||||||
"recording_frames".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,
|
true,
|
||||||
&(menu.recording_frames as u32),
|
&(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>(
|
input_tab.add_submenu_with_toggles::<PlaybackSlot>(
|
||||||
"Playback Button Combination".to_string(),
|
"Playback Button Combination".to_string(),
|
||||||
"playback_button_combination".to_string(),
|
"playback_button_combination".to_string(),
|
||||||
|
@ -884,13 +891,6 @@ pub unsafe fn ui_menu(menu: TrainingModpackMenu) -> UiMenu {
|
||||||
true,
|
true,
|
||||||
&(menu.playback_loop as u32),
|
&(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.tabs.push(input_tab);
|
||||||
|
|
||||||
overall_menu
|
overall_menu
|
||||||
|
|
Loading…
Reference in a new issue