Feat: bank / pattern import / export feature + documentation
Some checks failed
Deploy Website / deploy (push) Failing after 31s

This commit is contained in:
2026-02-26 00:20:46 +01:00
parent 7622e3d14c
commit c2eeebcfb7
15 changed files with 412 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ pub enum ConfirmAction {
ResetBank { bank: usize },
ResetPatterns { bank: usize, patterns: Vec<usize> },
ResetBanks { banks: Vec<usize> },
ImportBank { bank: usize },
}
impl ConfirmAction {
@@ -26,6 +27,7 @@ impl ConfirmAction {
Self::ResetBank { bank } => format!("Reset bank {}?", bank + 1),
Self::ResetPatterns { patterns, .. } => format!("Reset {} patterns?", patterns.len()),
Self::ResetBanks { banks } => format!("Reset {} banks?", banks.len()),
Self::ImportBank { bank } => format!("Import bank from clipboard? (replaces bank {:02})", bank + 1),
}
}
}