mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-07 04:06:45 +01:00
swap status bars
This commit is contained in:
parent
852522208e
commit
c7ee3185c1
2 changed files with 6 additions and 11 deletions
|
|
@ -1,9 +1,4 @@
|
||||||
(bsp/n
|
(bsp/s (fixed/y 1 :transport)
|
||||||
(fixed/y 1 :transport)
|
(bsp/n (fixed/y 1 :status)
|
||||||
(bsp/s
|
(fill/xy (bsp/a (fill/xy (align/e :pool))
|
||||||
(fixed/y 1 :status)
|
:arranger))))
|
||||||
(fill/xy
|
|
||||||
(bsp/a
|
|
||||||
(fill/xy
|
|
||||||
(align/e :pool))
|
|
||||||
:arranger))))
|
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@ impl Tek {
|
||||||
fmtd.bpm.update(None, rewrite!(buf, "---.---"));
|
fmtd.bpm.update(None, rewrite!(buf, "---.---"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
pub(crate) fn view_status (&self) -> impl Content<TuiOut> + use<'_> {
|
pub(crate) fn view_transport (&self) -> impl Content<TuiOut> + use<'_> {
|
||||||
self.update_clock();
|
self.update_clock();
|
||||||
let theme = ItemPalette::G[96];
|
let theme = ItemPalette::G[96];
|
||||||
let fmtd = self.fmtd.read().unwrap();
|
let fmtd = self.fmtd.read().unwrap();
|
||||||
|
|
@ -42,7 +42,7 @@ impl Tek {
|
||||||
)))
|
)))
|
||||||
))))
|
))))
|
||||||
}
|
}
|
||||||
pub(crate) fn view_transport (&self) -> impl Content<TuiOut> + use<'_> {
|
pub(crate) fn view_status (&self) -> impl Content<TuiOut> + use<'_> {
|
||||||
self.update_clock();
|
self.update_clock();
|
||||||
let theme = ItemPalette::G[96];
|
let theme = ItemPalette::G[96];
|
||||||
let fmtd = self.fmtd.read().unwrap();
|
let fmtd = self.fmtd.read().unwrap();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue