This commit is contained in:
2026-03-05 22:14:28 +01:00
parent 77364dddae
commit 04b68850d0
25 changed files with 374 additions and 8447 deletions

View File

@@ -351,6 +351,11 @@ pub(super) fn handle_modal_input(ctx: &mut InputContext, key: KeyEvent) -> Input
ctx.dispatch(AppCommand::EvaluatePrelude);
ctx.dispatch(AppCommand::ClosePreludeEditor);
}
EditorTarget::BankPrelude => {
ctx.dispatch(AppCommand::SaveBankPrelude);
ctx.dispatch(AppCommand::EvaluateBankPrelude);
ctx.dispatch(AppCommand::CloseBankPreludeEditor);
}
}
ctx.dispatch(AppCommand::CloseModal);
}
@@ -364,6 +369,10 @@ pub(super) fn handle_modal_input(ctx: &mut InputContext, key: KeyEvent) -> Input
ctx.dispatch(AppCommand::SavePrelude);
ctx.dispatch(AppCommand::EvaluatePrelude);
}
EditorTarget::BankPrelude => {
ctx.dispatch(AppCommand::SaveBankPrelude);
ctx.dispatch(AppCommand::EvaluateBankPrelude);
}
},
KeyCode::Char('b') if ctrl => {
editor.activate_sample_finder();