fix(elements/scrollable): nested container rendering
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 2m45s

This commit is contained in:
2025-03-02 22:27:26 +01:00
parent bec0cf2987
commit 4145ff497b
2 changed files with 24 additions and 24 deletions

View File

@@ -71,12 +71,9 @@ pub const Buffered = struct {
blk: for (0..size.rows) |row| {
for (0..size.cols) |col| {
const cell = cells[idx];
vs[anchor + (row * this.size.cols) + col] = cells[idx];
idx += 1;
vs[anchor + (row * this.size.cols) + col].style = cell.style;
vs[anchor + (row * this.size.cols) + col].cp = cell.cp;
if (cells.len == idx) break :blk;
}
}