mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
the long-standing architectural issues around how the Draw, Layout, and Content traits from Tengri should, well, actually work - that has subsided for now. somewhat. going to amend this commit with fixes to the remaining import not founds, and then... what?
This commit is contained in:
parent
ef81b085a0
commit
e6bf5c1f6e
4 changed files with 79 additions and 60 deletions
|
|
@ -118,7 +118,7 @@ pub trait ScenesView:
|
|||
})
|
||||
}
|
||||
fn view_scenes_names (&self) -> impl Content<TuiOut> {
|
||||
Fixed::x(20, Thunk::new(|to: &mut TuiOut|for (index, scene, ..) in self.scenes_with_sizes() {
|
||||
Fixed::X(20, Thunk::new(|to: &mut TuiOut|for (index, scene, ..) in self.scenes_with_sizes() {
|
||||
to.place(&self.view_scene_name(index, scene));
|
||||
}))
|
||||
}
|
||||
|
|
@ -182,7 +182,7 @@ impl Scene {
|
|||
match self.clips.get(index) { Some(Some(clip)) => Some(clip), _ => None }
|
||||
}
|
||||
}
|
||||
//scene_scroll: Fill::Y(Fixed::x(1, ScrollbarV {
|
||||
//scene_scroll: Fill::Y(Fixed::X(1, ScrollbarV {
|
||||
//offset: arrangement.scene_scroll,
|
||||
//length: h_scenes_area as usize,
|
||||
//total: h_scenes as usize,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue