fix(elements/scrollable): nested container rendering
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 2m45s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 2m45s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user