Feat: UI/UX fixes
All checks were successful
Deploy Website / deploy (push) Has been skipped

This commit is contained in:
2026-03-05 00:28:30 +01:00
parent 60fb62829f
commit 2c8a6794a3
7 changed files with 154 additions and 30 deletions

View File

@@ -719,12 +719,21 @@ fn render_modal(
.iter()
.map(|e| (e.name.clone(), e.is_dir, e.is_cagire()))
.collect();
FileBrowserModal::new("Add Sample Path", &state.input, &entries)
let hints = hint_line(&[
("\u{2190}", "parent"),
("\u{2192}", "enter"),
("Enter", "add"),
("Esc", "cancel"),
]);
FileBrowserModal::new("Browse Samples", &state.input, &entries)
.selected(state.selected)
.scroll_offset(state.scroll_offset)
.border_color(theme.modal.rename)
.width(60)
.height(18)
.audio_counts(&state.audio_counts)
.hints(hints)
.color_path()
.width(70)
.height(20)
.render_centered(frame, term)
}
Modal::Editor => {