diff --git a/src/container.zig b/src/container.zig index 5d1e49f..6aa6a62 100644 --- a/src/container.zig +++ b/src/container.zig @@ -634,7 +634,7 @@ pub fn Container(comptime Event: type) type { } pub fn fit_resize(this: *@This()) Point { - // NOTE this is supposed to be a simple and easy to understand alogrithm, there are currently no optimizations done + // NOTE this is supposed to be a simple and easy to understand algorithm, there are currently no optimizations done const layout = this.properties.layout; var size: Point = switch (layout.direction) { .horizontal => .{ .x = layout.gap * @as(u16, @truncate(this.elements.items.len -| 1)) },