fix quantized recording for good

This commit is contained in:
🪞👃🪞 2024-07-07 00:01:32 +03:00
parent f9fa24de0d
commit e98c110dbe
4 changed files with 18 additions and 16 deletions

View file

@ -30,7 +30,7 @@ impl<'a> SceneGridViewVertical<'a> {
lozenge_right(self.buf, x + width - 1, y, height, style);
}
let bg_color = if self.focused && self.entered {
Color::Rgb(30, 75, 25)
Color::Rgb(30, 90, 25)
} else if self.focused {
Color::Rgb(25, 60, 15)
} else {
@ -60,7 +60,6 @@ impl<'a> SceneGridViewVertical<'a> {
if x2 >= x + width {
break
}
let style = Some(highlight(self.focused, focus_column).bold());
let w = (title.len() as u16).max(10);
fill_bg(
&mut self.buf,
@ -76,6 +75,7 @@ impl<'a> SceneGridViewVertical<'a> {
} else if i < columns.len() {
self.clips(x2+1, y2+2, i - 1);
};
let style = Some(highlight(self.focused, focus_column).bold());
title.blit(self.buf, x2+1, y2, style);
x2 = x2 + w + 3;
}