mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-05-01 06:30:13 +02:00
swap status bars
This commit is contained in:
parent
852522208e
commit
c7ee3185c1
app
|
@ -1,9 +1,4 @@
|
|||
(bsp/n
|
||||
(fixed/y 1 :transport)
|
||||
(bsp/s
|
||||
(fixed/y 1 :status)
|
||||
(fill/xy
|
||||
(bsp/a
|
||||
(fill/xy
|
||||
(align/e :pool))
|
||||
:arranger))))
|
||||
(bsp/s (fixed/y 1 :transport)
|
||||
(bsp/n (fixed/y 1 :status)
|
||||
(fill/xy (bsp/a (fill/xy (align/e :pool))
|
||||
:arranger))))
|
||||
|
|
|
@ -29,7 +29,7 @@ impl Tek {
|
|||
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();
|
||||
let theme = ItemPalette::G[96];
|
||||
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();
|
||||
let theme = ItemPalette::G[96];
|
||||
let fmtd = self.fmtd.read().unwrap();
|
||||
|
|
Loading…
Reference in a new issue