draws again!
Some checks failed
/ build (push) Has been cancelled

This commit is contained in:
i do not exist 2026-08-23 11:29:48 +03:00
parent f2443a4314
commit 6771b24f79
17 changed files with 105 additions and 96 deletions

View file

@ -70,7 +70,7 @@ impl<T: TracksView + ScenesView + Send + Sync> ClipsView for T {}
pub trait ClipsView: TracksView + ScenesView {
/// Draw clips per scene
fn view_scenes_clips (&self) -> impl Draw<'_, Tui> {
fn view_scenes_clips (&self) -> impl Draw<Tui> {
let select = self.selection();
let editor = self.editor();
let size = self.clips_size();
@ -105,7 +105,7 @@ pub trait ClipsView: TracksView + ScenesView {
fg_bg(o, b, "".full_wh()),
fg_bg(f, b, bold(true, name)).align_nw().full_wh(),
),
when(is_selected, editor.map(|e|e.view())).full_wh()
when(is_selected, editor).full_wh()
).full_wh()
).exact_wh(w, y)
})).full_h().exact_w(track.width as u16)