mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 19:56:42 +01:00
wip: refactor pt.14: 138 errors
This commit is contained in:
parent
fbf217e108
commit
8b68a993bc
9 changed files with 95 additions and 100 deletions
|
|
@ -99,9 +99,11 @@ impl ArrangementScene {
|
|||
}).collect()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn longest_name (scenes: &[Self]) -> usize {
|
||||
scenes.iter().map(|s|s.name.read().unwrap().len()).fold(0, usize::max)
|
||||
}
|
||||
|
||||
/// Returns the pulse length of the longest phrase in the scene
|
||||
pub fn pulses (&self) -> usize {
|
||||
self.clips.iter().fold(0, |a, p|{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue