editor: 19x11 wat? but shows

This commit is contained in:
🪞👃🪞 2025-05-17 13:54:05 +03:00
parent 4f3a50f2d6
commit 5ed69edd02
3 changed files with 9 additions and 21 deletions

View file

@ -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())
}