fix(device): last 8 left to full compile?
Some checks are pending
/ build (push) Waiting to run

This commit is contained in:
stop screaming 2026-02-20 00:55:20 +02:00
parent 82ff49b386
commit 2d7ca155e0
7 changed files with 38 additions and 29 deletions

View file

@ -135,7 +135,7 @@ audio!(|self: Lv2, _client, scope|{
impl Draw<TuiOut> for Lv2 {
fn draw (&self, to: &mut TuiOut) {
let area = to.area();
let [x, y, _, height] = area;
let XYWH(x, y, _, height) = area;
let mut width = 20u16;
let start = self.selected.saturating_sub((height as usize / 2).saturating_sub(1));
let end = start + height as usize - 2;