mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 12:16:42 +01:00
This commit is contained in:
parent
4ba88bfd6d
commit
9aeb792f7d
6 changed files with 197 additions and 176 deletions
|
|
@ -69,21 +69,6 @@ pub trait HasTracks: Has<Vec<Track>> + Send + Sync {
|
|||
const TRACK_SPACING: usize = 0;
|
||||
}
|
||||
|
||||
impl<'a> ArrangerView<'a> {
|
||||
pub(crate) fn tracks_with_sizes_scrolled (&'a self)
|
||||
-> impl TracksSizes<'a>
|
||||
{
|
||||
self.arrangement
|
||||
.tracks_with_sizes(
|
||||
&self.arrangement.selection(),
|
||||
self.is_editing.then_some(20/*FIXME*/)
|
||||
)
|
||||
.map_while(move|(t, track, x1, x2)|{
|
||||
(self.width_mid > x2 as u16).then_some((t, track, x1, x2))
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl Arrangement {
|
||||
/// Add multiple tracks
|
||||
pub fn tracks_add (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue