Feat: make some stuff optional for the CLAP/VST version

This commit is contained in:
2026-02-21 13:23:43 +01:00
parent 77d5235d92
commit ab353edc0b
9 changed files with 42 additions and 19 deletions

View File

@@ -232,17 +232,19 @@ pub fn render(frame: &mut Frame, app: &App, link: &LinkState, area: Rect) {
render_option_line("Input 3", &midi_in_3, focus == OptionsFocus::MidiInput3, &theme),
]);
}
lines.push(Line::from(""));
lines.extend([
render_section_header("ONBOARDING", &theme),
render_divider(content_width, &theme),
render_option_line(
"Reset guides",
&onboarding_str,
focus == OptionsFocus::ResetOnboarding,
&theme,
),
]);
if !app.plugin_mode {
lines.push(Line::from(""));
lines.extend([
render_section_header("ONBOARDING", &theme),
render_divider(content_width, &theme),
render_option_line(
"Reset guides",
&onboarding_str,
focus == OptionsFocus::ResetOnboarding,
&theme,
),
]);
}
let total_lines = lines.len();
let max_visible = padded.height as usize;