mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
editor: 19x11 wat? but shows
This commit is contained in:
parent
4f3a50f2d6
commit
5ed69edd02
3 changed files with 9 additions and 21 deletions
|
|
@ -28,7 +28,9 @@ handle!(TuiIn: |self: App, input|Ok(if let Some(command) = self.config.keys.comm
|
|||
let clip = &mut app.scenes_mut()[scene].clips[track];
|
||||
if clip.is_none() {
|
||||
//app.clip_auto_create();
|
||||
*clip = Some(Default::default());
|
||||
*clip = Some(Arc::new(RwLock::new(MidiClip::new(
|
||||
"", false, 384, None, Some(ItemTheme::random())
|
||||
))));
|
||||
}
|
||||
clip.as_ref().map(|c|c.into())
|
||||
}
|
||||
|
|
|
|||
|
|
@ -76,9 +76,6 @@ impl App {
|
|||
pub fn view_audio_outs_status (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
self.project.view_audio_outs_status(self.color)
|
||||
}
|
||||
pub fn view_arranger (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
&self.project
|
||||
}
|
||||
pub fn view_arranger_scenes_names (&self) -> impl Content<TuiOut> + use<'_> {
|
||||
self.project.view_scenes_names()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue