doc: correct TODO, NOTE and FIX comment statements
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 48s
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 48s
This commit is contained in:
@@ -149,11 +149,11 @@ pub const Border = packed struct {
|
||||
/// Rectangle configuration struct
|
||||
pub const Rectangle = packed struct {
|
||||
/// `Color` to use to fill the `Rectangle` with
|
||||
/// NOTE: used as background color when rendering! such that it renders the
|
||||
/// NOTE used as background color when rendering! such that it renders the
|
||||
/// children accordingly without removing the coloring of the `Rectangle`
|
||||
fill: Color = .default,
|
||||
|
||||
// NOTE: caller owns `Cells` slice and ensures that `cells.len == size.cols * size.rows`
|
||||
// NOTE caller owns `Cells` slice and ensures that `cells.len == size.cols * size.rows`
|
||||
pub fn contents(this: @This(), cells: []Cell, size: Size) void {
|
||||
std.debug.assert(cells.len == @as(usize, size.cols) * @as(usize, size.rows));
|
||||
|
||||
@@ -700,7 +700,7 @@ pub fn Container(comptime Event: type) type {
|
||||
var element_size: Size = undefined;
|
||||
switch (layout.direction) {
|
||||
.horizontal => {
|
||||
// TODO: this should not always be the max size property!
|
||||
// TODO this should not always be the max size property!
|
||||
var cols = blk: {
|
||||
if (element.properties.fixed_size.cols > 0) break :blk element.properties.fixed_size.cols;
|
||||
break :blk element_cols;
|
||||
|
||||
Reference in New Issue
Block a user