mirror of
https://codeberg.org/unspeaker/tek.git
synced 2026-04-04 05:10:44 +02:00
wip: sample selector
This commit is contained in:
parent
4603bbd0da
commit
f303a8d552
13 changed files with 278 additions and 125 deletions
|
|
@ -1,8 +1,8 @@
|
|||
//! Rendering of application to display.
|
||||
|
||||
use crate::{render, App, core::*};
|
||||
use crate::{render, App, core::*, devices::chain::ChainView, model::MODAL};
|
||||
|
||||
submod! { border chain split theme }
|
||||
submod! { border split theme }
|
||||
|
||||
render!(App |self, buf, area| {
|
||||
Split::down([
|
||||
|
|
@ -13,7 +13,7 @@ render!(App |self, buf, area| {
|
|||
&self.sequencer,
|
||||
]))
|
||||
]).render(buf, area)?;
|
||||
if let Some(ref modal) = self.modal {
|
||||
if let Some(ref modal) = *MODAL.lock().unwrap() {
|
||||
modal.render(buf, area)?;
|
||||
}
|
||||
Ok(area)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue