mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
chore: fix 30-40 warnings
This commit is contained in:
parent
4604ad66a2
commit
cac3fe044e
13 changed files with 36 additions and 44 deletions
|
|
@ -18,7 +18,7 @@ pub struct Pool {
|
|||
//.flatten()));
|
||||
impl Default for Pool {
|
||||
fn default () -> Self {
|
||||
use PoolMode::*;
|
||||
//use PoolMode::*;
|
||||
Self {
|
||||
visible: true,
|
||||
clips: Arc::from(RwLock::from(vec![])),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ content!(TuiOut: |self: PoolView<'a>| {
|
|||
//let color = self.1.clip().map(|c|c.read().unwrap().color).unwrap_or_else(||Tui::g(32).into());
|
||||
//let on_bg = |x|x;//Bsp::b(Repeat(" "), Tui::bg(color.darkest.rgb, x));
|
||||
//let border = |x|x;//Outer(Style::default().fg(color.dark.rgb).bg(color.darkest.rgb)).enclose(x);
|
||||
let height = pool.clips.read().unwrap().len() as u16;
|
||||
//let height = pool.clips.read().unwrap().len() as u16;
|
||||
Fixed::x(20, Fill::y(Align::n(Map::new(
|
||||
||pool.clips().clone().into_iter(),
|
||||
move|clip: Arc<RwLock<MidiClip>>, i: usize|{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue