bizzle
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
i do not exist 2026-08-19 18:21:42 +03:00
parent e50c4a5eef
commit e6984915e4
22 changed files with 1002 additions and 294 deletions

View file

@ -203,7 +203,7 @@ pub trait ScenesView: HasEditor + HasSelection + HasSceneScroll + HasClipsSize +
fn w_side (&self) -> u16;
fn w_mid (&self) -> u16;
fn view_scenes_names (&self) -> impl Draw<Tui> {
fn view_scenes_names (&self) -> impl Draw<'_, Tui> {
let select = self.selection();
let editor = self.editor();
let editing = self.is_editing();
@ -275,13 +275,13 @@ impl HasSceneScroll for App {
}
}
pub fn view_scene_name (
pub fn view_scene_name <'a> (
select: &Selection,
editor: Option<&MidiEditor>,
editor: Option<&'a MidiEditor>,
index: usize,
scene: &Scene,
editing: bool
) -> impl Draw<Tui> {
) -> impl Draw<'a, Tui> {
let h = if select.scene() == Some(index) && let Some(_editor) = editor {
7
} else {