dynamic text and styling,

This commit is contained in:
2024-12-14 14:17:08 +01:00
parent b4c4e32aba
commit 2106283364
6 changed files with 146 additions and 66 deletions
+4 -7
View File
@@ -25,14 +25,11 @@ impl Frame {
if style.visible {
let y = style.y.as_position(
&{
let mut y_ = 0;
for n in self.used.iter().rev() {
if *n == 0 {
break;
}
y_ += 1;
let mut y = 0;
while y < self.used.len() && self.used[y] != 0 {
y += 1;
}
y_
y as u16
},
self.height,
);