mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-08 12:46:42 +01:00
fix quantized recording for good
This commit is contained in:
parent
f9fa24de0d
commit
e98c110dbe
4 changed files with 18 additions and 16 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue